reactjs / react-autocomplete

WAI-ARIA compliant React autocomplete (combobox) component
MIT License
2.17k stars 532 forks source link

ie11 : clicking on scroll bar closes dropdown #248

Closed shrynx closed 7 years ago

shrynx commented 7 years ago

Clicking on the scrollbar to drag it down, closes the dropdown and reopens it immediately, without any scroll result I am adding a gif below. sorry i cut out most part, as i had private data in the list. screenflow

CMTegner commented 7 years ago

Hi! Which version of Autocomplete are you using? We fixed a similar issue in 1.5.3. I can't seem to reproduce this issue on master in IE11 on Windows 10. If you could create a reduced test case it would help a lot!

shrynx commented 7 years ago

@CMTegner Windows 8, ie 11. and Autocomplete 1.5.5.

i'll put up a reproducible demo soon.

shrynx commented 7 years ago

@CMTegner Update: I fixed it in my code with a small hack. What i was able to deduce was, if am firing ajax for querying and whenever i try to scroll ie keeps on keep firing onChange event on empty input. this behavior is really weird and only happens on empty input. so for now, in onChange event i check if state and the event value are both equal to '', then preventDefault. I will further investigate and report back. Closing the issue for now.

hari457627 commented 5 years ago

Hi i'm using Downshift material ui component. scroll bar up and down arrows with mouse clicks is working fine in normal pages, but its not working in material ui modals. in modal, when i'm clicking in Downshift suggestions scroll up and right arrow with mouse, then suggestions popup is closing. Can anybody help me to solve this issue?