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

Made IE11 scrollbar check more precise (updated) (fixes #621) #710

Conversation

sebastianhaberey
Copy link

Updated #625 to match current master.

This is just the fix in the source code. To ensure effortless merging, I didn't rebuild the assets here.

Comment on lines +1407 to +1410
// ... but the click was on the right side of the items...
const firstItem = this.choiceList.getChild(
`.${this.config.classNames.item}`,
);
Copy link
Contributor

@tinovyatkin tinovyatkin Oct 27, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sebastianhaberey This library support RTL, so, we need to check here this._direction and use either left or right.
Currently, while using default templates, scrollbar is always on the right side, but it will be fixed by #711 or may be overriden by custom template.

@jshjohnson jshjohnson added the enhancement Pull request that improves existing functionality label Oct 30, 2019
jshjohnson pushed a commit that referenced this pull request Nov 12, 2019
* scope onMouseDown event capture

* supercedes #710

* make isIE11 a const

* scope keydown

* scope mouseover

* fix removeEventListener for keyup
@jshjohnson
Copy link
Collaborator

This has been superseded by #740 :) thanks

@jshjohnson jshjohnson closed this Nov 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Pull request that improves existing functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants