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
This is less of an issue report and more of a small feature request.
When a cursor is followed, it calling scrollIntoView() scrolls, not just the OSMD container, but every one of its scrollable parent elements as well. In turn, when OSMD is used only within a smaller div in the page, this div is forcefully scrolled into view every time the cursor moves. This process happens outside of any event bubbling and is thus not preventable to my knowledge.
It would be nice to be able to toggle this behavior on or off, i.e. make it so the cursor only scrolls, at most, the OSMD container, leaving the rest of the page to scroll away from it if needed.
The text was updated successfully, but these errors were encountered:
This is less of an issue report and more of a small feature request.
When a cursor is followed, it calling
scrollIntoView()
scrolls, not just the OSMD container, but every one of its scrollable parent elements as well. In turn, when OSMD is used only within a smaller div in the page, this div is forcefully scrolled into view every time the cursor moves. This process happens outside of any event bubbling and is thus not preventable to my knowledge.It would be nice to be able to toggle this behavior on or off, i.e. make it so the cursor only scrolls, at most, the OSMD container, leaving the rest of the page to scroll away from it if needed.
The text was updated successfully, but these errors were encountered: