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
Is it the right behavior or would you prefer the API to throw an exception and let you manage scroll yourself?
The same kind of issue can be found with a mouse click. To be able to click an element, the cursor must first be placed over it. It is also done automatically right now:
When moving the mouse cursor like this:
It is possible that "element" is in fact currently not in the viewport, so, the cursor actually cannot go over the element without scrolling first.
Currently, it automatically scroll to ensure the cursor can be put over the element:
effroi/src/devices/mouse.js
Line 98 in 87af7a7
Is it the right behavior or would you prefer the API to throw an exception and let you manage scroll yourself?
The same kind of issue can be found with a mouse click. To be able to click an element, the cursor must first be placed over it. It is also done automatically right now:
effroi/src/devices/mouse.js
Line 45 in 87af7a7
It lead to an easyer to use API but it's a bit less flexible. Your opinion is very welcome!
The text was updated successfully, but these errors were encountered: