question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Scrollbar click and/or drag causes close to fire

See original GitHub issue

This 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.

https://www.youtube.com/watch?v=rVA6F9hFgM4

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:10 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
Rodeoclashcommented, Sep 13, 2016

Sounds good. I’ll wait until our PM’s scream loudly enough here about it to allocate some time to fixing it 😄

0reactions
Pomaxcommented, Dec 20, 2016

closing for now, but feel free to reopen or refile if this becomes a problem again.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found