Scrollbar click and/or drag causes close to fire
See original GitHub issueThis is a tricky one because technically it could be the correct behaviour.
If the user clicks and drags a top level scrollbar in the browser chrome, it will fire the on close event. Here’s an example of a floating navigation bar with content underneath it. You can see me dragging it, then opening the popup and trying to do the same thing. The popup will fire the handleClickOutside
and close on mousedown on the scrollbar.
Issue Analytics
- State:
- Created 7 years ago
- Comments:10 (6 by maintainers)
Top Results From Across the Web
126184 - Clicking on scrollbars fire a mousedown event but ...
A mouseup event is usually fired when the user is done dragging the element. This allows the dragging interaction to cease. What happens...
Read more >Bootstrap 3 modal fires and causes page to shift to the left ...
You'll notice when the modal window opens, the browser scroll bar just disappears for a split second, then comes back. It does the...
Read more >overscroll-behavior - CSS: Cascading Style Sheets | MDN
The overscroll-behavior CSS property sets what a browser does when reaching the boundary of a scrolling area.
Read more >Take control of your scroll - customizing pull-to-refresh and ...
Turns out this behavior is called scroll chaining; the browser's default behavior when scrolling content. Oftentimes the default is pretty nice, ...
Read more >Double click event firing on the scroll bar | Infragistics Forums
The reason this happens is that the DoubleClick event is an event on Control. It's not something that is specifically implemented on the...
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 Free
Top 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
Sounds good. I’ll wait until our PM’s scream loudly enough here about it to allocate some time to fixing it 😄
closing for now, but feel free to reopen or refile if this becomes a problem again.