Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added hiding fix #80

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Added hiding fix #80

wants to merge 2 commits into from

Conversation

igoradamenko
Copy link

If you used selecter with scroller and scroll list by mouse (click, hold and drag scroll-bar), after scrolling selecter was hiding if cursor not on scroll-bar. But if change .parents in _onCloseHelper to .closest this bug is fixed.

Now list is not hiding if cursor on list (not only on scroll-bar) after scrolling.

before pull request: https://www.screenr.com/ZykN
after pull request: https://www.screenr.com/kykN

.parents starts search from first parent, but we need to start from current element.
.parents starts search from first parent, but we need to start from current element.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant