scroll_to_top
When enabled, this allows Assess API to scroll to the top of the container when the user navigates to the next or previous item.
Note
This feature has the same behavior as scroll_to_test
, but triggers every time the user navigates between items.
Values
Request object key navigation.scroll_to_top
Default: true
This option can be initialized as one of the following types: boolean object.
-
Type boolean Enable scrolling to the top of the assessment container without any additional offset.
-
Type object
-
offset_top number
Enable scrolling above top of the assessment container based on the offset.
Note This setting is useful when having a custom header above the assessment container.
Example:10
-