Angular material datepicker position is wrong exce

2019-06-28 01:02发布

I am using angular-material and md-datepicker in my project.

I'm having a form, containing several inputs and <md-datepicker> and the problem is that the position of the datepickers (the calendar, not the initial input) is wrong except for the first one if I'm not using Google Chrome.

The position seems to be correct if all the <md-datepicker> are at the top of the page next to each other, but as soon as we need to scroll down a bit, the positioning is failing.

Here is a codepen where you can see the issue on Firefox : http://codepen.io/anon/pen/pjGPGZ?editors=101

Just scroll down and try to use the datepickers.

2条回答
男人必须洒脱
2楼-- · 2019-06-28 01:17

I just tried your codepen on chrome, firefox and safari. Everything worked fine, I got no issues.

查看更多
你好瞎i
3楼-- · 2019-06-28 01:41
登录 后发表回答