ember-widgets icon indicating copy to clipboard operation
ember-widgets copied to clipboard

Select - IE11/Win8.1 Reset Scroll Position Bug

Open alexdiliberto opened this issue 11 years ago • 1 comments

The select widget has it's position reset on any scrolling list of items in IE11/Win8.1 which causes some strange behavior.

EX: Open up the demo page, first click on the select box and you see this screen shot 2014-05-22 at 2 20 52 pm

Now scroll a little over halfway down the first page of results click somewhere else on the page to toggle off the rsults, then click back on the select box and you see this.

screen shot 2014-05-22 at 2 21 07 pm

It's because the inline translate: transform(x, y) values are expecting the scroll position to stay fixed, but infact this broswer/OS combo causes the scroll position to reset.

alexdiliberto avatar May 22 '14 18:05 alexdiliberto

Same behavior can be shown on this dummy JSBin which just when toggling the set display:none button

http://jsbin.com/xilobamu/4/edit

EDIT: This can be fixed simply by updating the CSS to toggle visibility:hidden rather than display:none

alexdiliberto avatar May 22 '14 19:05 alexdiliberto