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 scrollMenuIntoView option #840

Merged
merged 1 commit into from
Apr 9, 2016
Merged

Fix scrollMenuIntoView option #840

merged 1 commit into from
Apr 9, 2016

Conversation

aij
Copy link
Contributor

@aij aij commented Mar 17, 2016

Switching to relative scrolling avoids two problems:

  1. IE does not support window.scrollY
  2. window.scrollTo(0, ...) scrolls to the left

This fixes #799.

Switching to relative scrolling avoids two problems:
 1. IE does not support window.scrollY
 2. window.scrollTo(0, ...) scrolls to the left

This fixes JedWatson#799.
@aij
Copy link
Contributor Author

aij commented Apr 8, 2016

Please let me know if you'd prefer some alternate solution. We are currently using react-select and need to support IE10.

@JedWatson
Copy link
Owner

Looks great @aij, thanks for the fix and sorry for the delayed merge!

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.

scrollMenuIntoView option broken on IE
2 participants