Skip to content

Fix scrollMenuIntoView option - #840

Merged
JedWatson merged 1 commit into
JedWatson:masterfrom
aij:master
Apr 9, 2016
Merged

Fix scrollMenuIntoView option#840
JedWatson merged 1 commit into
JedWatson:masterfrom
aij:master

Conversation

@aij

@aijaij commented Mar 17, 2016

Copy link
Copy Markdown
Contributor

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 fixesJedWatson#799.
@aij

aij commented Apr 8, 2016

Copy link
Copy Markdown
ContributorAuthor

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
Copy Markdown
Owner

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

Sign up for freeto 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

@aij@JedWatson