mominsamir / smDateTimeRangePicker

Angular Material Date Picker, DateTime Picker, Date Range Picker, Date Time range picker
http://mominsamir.github.io/smDateTimeRangePicker/
MIT License
130 stars 50 forks source link

On mobile resolutions "md-scroll-mask" is not removed after closing the calender #146

Open samiyonemoto opened 7 years ago

samiyonemoto commented 7 years ago

Calendar creates a mask to DOM covering the whole page and opens itself on top of it. This mask is removed from DOM on closing the calendar on desktop resolution. In case of mobile resolutions the mask remains and it disables scrolling the page after the calendar is closed.

This happens similarly with sm-date-time-picker & sm-range-picker-input.

See the picture attached. This is situation the calendar is just closed. Ui is now freezed due the "md-scroll-mask" capture1

oscar09 commented 7 years ago

I believe a similar bug was opened before and it is related to angular material. You should be using an old version. If you upgrade to the latest version, the bug should disappear.