Topic: Mobile: Alert above menu dropdown
m.hamacher
pro priority asked 2 years ago
Expected behavior
On Mobile phones the Menu-Dropdown is above every other element.
Actual behavior
An alert-box is above the menu-dropdown.
Resources (screenshots, code snippets etc.)
You can see the problem under following url: https://minecraftsuro.org. See Homepage or "Teilnehmer"-Page. Klick on the collapse button on the right side. The menu will be shown but the last menupoints are behind the alert on the page.
Krzysztof Wilk
staff answered 2 years ago
Hello!
The problem is that you used alert, that is always shown. Alerts are notifications, that are most important, so they have to be shown on the foreground, in front of all elements. I think you should put text from this alert into the div and stylize it to alert-like in css.
m.hamacher pro priority commented 2 years ago
Hi. Ok, I haven't think of that. I will change that. Thanks for your answer.
Resolved
- User: Pro
- Premium support: No
- Technology: jQuery
- MDB Version: 4.8.2
- Device: MacBook
- Browser: Chrome
- OS: MacOs Mojave
- Provided sample code: No
- Provided link: Yes