-
Notifications
You must be signed in to change notification settings - Fork 3.4k
md-select breaks the layout on focus #2307
Comments
+1
Like it searches upstream for an I thought it could be the following, but it doesn't seem to be: Maybe here but it's looking inside not outside: Or maybe something related to the following: I couldn't pinpoint where those styles where added, if I manually disable those styles, it kind of solves the problem in my case. I would appreciate some help. Thanks. |
I updated my project with 0.9.0-rc1 and |
For those like me who wants the last release before md-select breaks, in your package.json : "angular-material": "git://github.com/angular/bower-material.git#v0.8.3-master-360e2b6" |
I can confirm this too, it gets even weirder if md-select is shown in a dialog. |
For anyone else looking for solution for this, you can use my fork where this behavior is removed. |
@FDIM Indeed that change (removing disableScrollAround) fixes the issue: the select on focus doesn't break the dialog (and the layout is ok also for the case described in #2330). Side effect:
|
@albertosantini I've made another change - this time only set that option to false. Mentioned side effect doesn't happen anymore and layout remains correct. Thanks |
@FDIM Confirmed. It is ok. Thanks a lot. Any chance to set |
I wouldn't say that it is a legacy code, see 614630d |
The latest code on master should resolve this issue. Please test it out and open up a new issue if not. |
My demo is automatically updated (few minutes after a push on bower-material). |
Just pushed an update again |
@rschmukler that codepen behavior changed again (still not quite expected behavior) and the doc demos are now behaving strangely. For example parts of the page are being cut off. Edit: seems to be related to position fixed being set on the select menu's parent? |
@mckenzielong @rschmukler For me the codepen is perfect now ! 👍 |
@jgoux newest rawgit is still broken here (made sure to clear cache): Chrome 42.0.2311.90 on Windows 7. |
Still not fixed :/ |
i am facing the same issue when my parent div position is fixed and apply scroll bar , and md select will be open top of the page , when i removed the position fixed the scroll bar will set his positon automatically , { |
Hello,
from the master, md-select seems to break the layout when it's focused. (Chrome)
In a layout row with two flex elements : (left column / right column)
EDIT : I made a codepen : http://codepen.io/jgx/pen/bNXeYr
I also created a sandbox to fork in order to ease the demo of issues (always up to date with the master branch), maybe it's something you could share in the contributing area of the readme ? : http://codepen.io/jgx/pen/JogKrQ
The text was updated successfully, but these errors were encountered: