material icon indicating copy to clipboard operation
material copied to clipboard

md-datepicker inside mdDialog displays way over the input location

Open FabVillegas opened this issue 11 years ago • 7 comments

image

If I open the dialog and open the datepicker, everything works fine.

image

If I scroll down, the datepicker starts to move away

image

FabVillegas avatar Nov 04 '15 17:11 FabVillegas

Normally scrolling shouldn't be possible due an opened dialog.

See my Codepen

Perhaps you can provide a codepen too?

devversion avatar Nov 04 '15 17:11 devversion

I dont mean scrolling the dialog nor the content if the custom dialog is open

Ill provide a codepen whenever I have a chance. Busy day. :cry:

FabVillegas avatar Nov 04 '15 18:11 FabVillegas

+1 i have the same bug :(

PawelOwczarekFalcon avatar Nov 05 '15 15:11 PawelOwczarekFalcon

It would be great, if someone, with the same problems, provide a codepen :+1:

devversion avatar Nov 05 '15 15:11 devversion

It would be great, if someone, with the same problems, provide a codepen

Sorry it took so long...

Perhaps you can provide a codepen too?

Your own modified codepen

Everything is fine image

If you open it

image

The datepicker is displaced...

I insert another button in the text and open the dialog at a lower view position

image

The datepicker is further displaced image

FabVillegas avatar Nov 13 '15 06:11 FabVillegas

The whole problem, and this is my guess, is that the whiteframe of the datepicker goes inside the body, not the dialog mask, so the property "top" counts from the top of the body

FabVillegas avatar Nov 13 '15 06:11 FabVillegas

Dupe of #5501

jelbourn avatar Nov 13 '15 17:11 jelbourn