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

Fix mouse wheel scroll-up not working #210

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

Conversation

pszoldan
Copy link

@pszoldan pszoldan commented Oct 5, 2017

This is a bugfix commit. Scrolling with the mouse wheel only works downwards, but not upwards in the open selectric panel. This is because the condition to prevent scrolling up when we're already at the top takes the position from the wrong element and it always thinks it's scrolled all the way up, preventing any further scroll upwards. This commit fixes it by taking the scroll position from the correct element, the parent.

@codecov-io
Copy link

codecov-io commented Oct 5, 2017

Codecov Report

Merging #210 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff          @@
##           master   #210   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files           1      1           
  Lines         391    391           
=====================================
  Hits          391    391
Impacted Files Coverage Δ
src/jquery.selectric.js 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0b92c26...c2da720. Read the comment docs.

@gearsdigital
Copy link
Contributor

Thank you very much for you PR. I'll verify and test this in the next days.

…ChromeVox. known bug: when selecting an option, ChromeVox says "listbox with zero items, X selected" which doesn't make sense, but have seen some markups where it works properly but couldn't figure out what makes it do that
@dm-AS
Copy link

dm-AS commented Jul 27, 2018

The fix works for me. Thanks @pszoldan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants