material icon indicating copy to clipboard operation
material copied to clipboard

mdSelect causes page to jump to top in firefox(again #3020 )

Open xtiggerk opened this issue 11 years ago • 12 comments

Hi, i confirm this issues on Firefox, when you open a md-select and click an item in the list, it jumps up right to the bottom of the md-select. If you open a md-select, and click outside to close it, it jumps up to top. :/

xtiggerk avatar Jun 26 '15 12:06 xtiggerk

Just checked the demo and could not reproduce the issue. Could you submit a codepen or something showcasing this?

rschmukler avatar Jun 28 '15 22:06 rschmukler

I'm also getting this error, but only with Firefox (mac) version: 38.0.5

Not 100% sure but may be something to do with handleHiddenChange function on autocompleteController.js

Demo: http://codepen.io/anon/pen/QbaayZ

dreamoftrees avatar Jun 29 '15 00:06 dreamoftrees

Thanks for the demo, issues 'works' on Firefox 38 (windows) and Firefox developer 42 (windows too)

xtiggerk avatar Jun 29 '15 09:06 xtiggerk

Can confirm issue with autocomplete on firefox, but select seems to be working as expected.

Can you guys confirm that the select works for you in firefox?

rschmukler avatar Jun 30 '15 15:06 rschmukler

Hey, the select doesn't work on Firefox webdeveloper 40.0a2 (2015-06-22) and Firefox 38.0.5 (sorry ;) same issues) Windows 8.x

xtiggerk avatar Jun 30 '15 15:06 xtiggerk

Both the select and autocomplete still scroll to the top of the page when selected. I'm assuming it's the same select component that is effecting both.

Test Results on mac(10.10.3) Firefox (38.0.5). - Fails, scrolls to top Chrome (43.0.2357.130 (64-bit)). - Pass, doesn't scroll Safari (8.0.6 (10600.6.3)). - Pass, doesn't scroll

dreamoftrees avatar Jul 03 '15 02:07 dreamoftrees

@dreamoftrees and @xtiggerk can you check this demo which is using the code off of master. demo is working for me with Firefox 38.0.5 on OX X. Thanks!

rschmukler avatar Jul 09 '15 15:07 rschmukler

Works fine for me :) on windows 8.1 FF and FF developer Thanks

xtiggerk avatar Jul 09 '15 15:07 xtiggerk

@xtiggerk thanks for the super quick reply. Closing!

rschmukler avatar Jul 09 '15 15:07 rschmukler

@rschmukler Iam still getting this issue in Firefox and as well as in iPad also https://codepen.io/anon/pen/VLxmyM. i think we should re-open this isse. Firefox version : 53.0b1 (32-bit)

AkhilNaidu09 avatar Jun 06 '17 11:06 AkhilNaidu09

@rschmukler I am still getting this error too in Chrome (64.0.3282.140). I tried material v1.1.3, v1.1.5, v1.1.7 and result not changed. When I clicked an option in mdSelect it jumps to bottom, to the mdselect where it is

hayatibis avatar Feb 12 '18 08:02 hayatibis

@csvital this fix was improved in 1.1.5 via https://github.com/angular/material/pull/10549 and is still working in 1.1.7.

If you are seeing a problem with a select in a dialog, https://github.com/angular/material/issues/9724 is tracking that.

If your problem is something else, please open a new issue with a CodePen reproduction.

Splaktar avatar Feb 18 '18 06:02 Splaktar