You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When Create Exam starts, it makes a call to the API for 10 rows, and displays them. It then expects that if you scroll down, it should make a call to the API for 10 more rows. It then displays those, until you scroll down again, and so forth.
A problem occurs when the browser window has enough height that it can display the 10 rows without scrolling. In this case, no scroll event is passed to the Create Exam code, and so no request is made for the next 10 rows. Only the original 10 appear on the screen, though there may be hundreds more.
Perhaps to resolve this, we take a measurement of the browser window. If the space available is greater than 10 times the height of a single line row, we should call the API with a request for enough rows to fill the screen. We could divide the space available by the height of a single line row, to get the number of rows to request plus two for good measure.
Or perhaps another solution? Thoughts?
The text was updated successfully, but these errors were encountered:
When Create Exam starts, it makes a call to the API for 10 rows, and displays them. It then expects that if you scroll down, it should make a call to the API for 10 more rows. It then displays those, until you scroll down again, and so forth.
A problem occurs when the browser window has enough height that it can display the 10 rows without scrolling. In this case, no scroll event is passed to the Create Exam code, and so no request is made for the next 10 rows. Only the original 10 appear on the screen, though there may be hundreds more.
Perhaps to resolve this, we take a measurement of the browser window. If the space available is greater than 10 times the height of a single line row, we should call the API with a request for enough rows to fill the screen. We could divide the space available by the height of a single line row, to get the number of rows to request plus two for good measure.
Or perhaps another solution? Thoughts?
The text was updated successfully, but these errors were encountered: