Topic: Nav dropdowns get cutoff on mobile screens
Jakub Strebeyko
staff answered 3 years ago
Hi there,
Thanks for reaching out! The bug has been repaired with the newest release, but the newest styles have not been totally implemented yet . For anyone in need of solution now, please upgrade the package. For those who for some reason are unable to do it (and are ready to fiddle a bit in their code), I suggest trying moving a .dropdown-menu element in your CSS or by adding this at the end of your JS input (either in your custom .js file or in between the <script> tags in your .html file - like so:
$(function (){
$('.dropdown-menu').css('left', '-98px')
})
The value of left property depends how much the .dropdown-menu is off and so on the length of the collapsed word.
With Best Regards,
Kuba
Neanrakyr pro premium priority commented 3 years ago
I have the same problem on 4.4.5Jakub Strebeyko staff commented 3 years ago
Thanks for letting us know. We are preparing a major update to MDB itself, and templates shall be updated accordingly. Meanwhile let me know whether the workaround above solves the issue. With Best Regards, KubaAnswered
- User: Pro
- Premium support: No
- Technology: jQuery
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: Yes
Neanrakyr pro premium priority commented 3 years ago
I have the same issue.