You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the prop openMenuOnFocus={true}, we cannot use the down arrow under the scroll bar to scroll the menu list down in IE11 (Chrome works fine). I am on react-select version 2.2.0.
My suspicion is that the menu gets refocused after hitting the scrollbar arrows, and with openMenuOnFocus={true}, it's reopening the menu, scrolling to the top.
Repro steps
Create a react-select dropdown with enough options to have a dropdown arrow
Give that react select component a prop openMenuOnFocus={true}
Open the app in IE11 (Chrome works fine)
In the dropdown, try scrolling down hitting the down arrow icon under the scroll bar
Notice that the react-select dropdown keeps scrolling back up to the top
Codesandbox does not seem to work in IE11 right now, so I am attaching my code and a GIF showing the behavior instead. Hope that's ok!
The text was updated successfully, but these errors were encountered:
afrisone
changed the title
[V2] IE11 bug: Scrollbar arrows break when using openMenuOnFocus={true}
[V2] IE11 bug: Scrollbar arrows scroll menu to the top when using openMenuOnFocus={true}
Jan 10, 2019
seems related to 30ead6d, a fix for the MenuList closing when the
scrollbar is clicked in IE11. When the select input is refocused, the
openMenu method re-scrolls MenuList to the currently selected value,
causing the user to be unable to scroll to other values via mouse click
fixesJedWatson#3342
seems related to 30ead6d, a fix for the MenuList closing when the
scrollbar is clicked in IE11. When the select input is refocused, the
openMenu method re-scrolls MenuList to the currently selected value,
causing the user to be unable to scroll to other values via mouse click
fixesJedWatson#3342
Issue:
When using the prop
openMenuOnFocus={true}
, we cannot use the down arrow under the scroll bar to scroll the menu list down in IE11 (Chrome works fine). I am on react-select version 2.2.0.My suspicion is that the menu gets refocused after hitting the scrollbar arrows, and with
openMenuOnFocus={true}
, it's reopening the menu, scrolling to the top.Repro steps
openMenuOnFocus={true}
Codesandbox does not seem to work in IE11 right now, so I am attaching my code and a GIF showing the behavior instead. Hope that's ok!
Code:
GIF:
The text was updated successfully, but these errors were encountered: