Topic: Clicking mdb-date-picker scrolls to top
itay pro asked 4 years ago
Expected behavior
View should not scroll
Actual behavior
View scrolls to top just when clicking on:
<mdb-date-picker formControlName="sDue" [options]="myDatePickerOptions"></mdb-date-picker>
or
<mdb-date-picker formControlName="sDue"></mdb-date-picker>
Resources (screenshots, code snippets etc.)
itay pro answered 4 years ago
Please check this clip: https://imgur.com/a/lLGWLwA
itay pro commented 4 years ago
Ping............
Arkadiusz Idzikowski staff commented 4 years ago
As I mentioned before, we couldn't reproduce this problem on our end. Please prepare a simple demo on which we will be able to recreate this problem and send it to a.idzikowski@mdbootstrap.com
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Pro
- Premium support: No
- Technology: MDB Angular
- MDB Version: 9.0.1
- Device: NA
- Browser: NA
- OS: NA
- Provided sample code: Yes
- Provided link: No
Arkadiusz Idzikowski staff commented 4 years ago
We couldn't reproduce this problem on our end, please provide more details so we can find the cause of this unexpected behavior.
itay pro commented 4 years ago
I believe it might be related to opening a
datepicker
component where there is aside-nav
, perhaps also related to it being aligned to the rightI tried playing with https://ng-demo.mdbootstrap.com/forms/datepicker but it has no sidebar.
The side nav demo at https://ng-demo.mdbootstrap.com/navigation/side-nav is very poor
Can you please check it ?
Arkadiusz Idzikowski staff commented 4 years ago
Thanks, we will try to check that with this configuration.
itay pro commented 4 years ago
Any news ?......
itay pro commented 4 years ago
Ping..................
itay pro commented 4 years ago
Any updates ?........
Arkadiusz Idzikowski staff commented 4 years ago
We will let you know about the progress when we debug/fix this problem.
itay pro commented 4 years ago
Can you reproduce it ?
itay pro commented 4 years ago
Can you reproduce it ?
Arkadiusz Idzikowski staff commented 4 years ago
Unfortunately we couldn't reproduce that on our end. It's possible that it happens only in a specific HTML structure or is caused by some custom styles. Please prepare a simple example and send it to a.idzikowski@mdbootstrap.com or add some more code to your first post.