during panning, editor does not follow mouse cursor when it's outside of the element
See original GitHub issueSee the screen recording below. Perhaps this could be fixed by using setPointerCapture()
when dragging begins?
https://developer.mozilla.org/en-US/docs/Web/API/Element/setPointerCapture
Issue Analytics
- State:
- Created a year ago
- Comments:10 (4 by maintainers)
Top Results From Across the Web
Zoom/scale at mouse position - javascript - Stack Overflow
Use the canvas for zoomable content. Zooming and panning elements is very problematic. It can be done but the list of issues is...
Read more >cursor - CSS: Cascading Style Sheets - MDN Web Docs
The cursor CSS property sets the mouse cursor, if any, to show when the mouse pointer is over an element.
Read more >ArcGIS Mouse Cursor Stuck in Auto Pan / Continuous Zoom ...
I have been having this issue, and as a short term solution: make sure the cursor mode you would like to use is...
Read more >Pointer Events - W3C
A pointer can be any point of contact on the screen made by a mouse cursor, pen, touch (including multi-touch), or other pointing...
Read more >How to use pan and zoom effects in Premiere Elements.
The Pan and Zoom tool follows the 'Z' pattern while detecting and creating sequences for recognized faces. Select Reverse Automatic Panning ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Wow! Work correct! 😉
I did not know this method. It is very simple to implement:
It is passed to null. Because once the mouse is up there is no reason to pass the position function.
You can see more at https://developer.mozilla.org/en-US/docs/Web/API/Element/setPointerCapture