jwstegemann / fritz2

Easily build reactive web-apps in Kotlin based on flows and coroutines.
https://www.fritz2.dev
MIT License
653 stars 28 forks source link

Improve PopUpPanel rendering #820

Closed Lysander closed 10 months ago

Lysander commented 10 months ago

Currently the PopUpPanel, wich is the base for all floating content besides modals, renders its own <div> tag and prohibits to add classes to the internal managed ones. The class fritz2-popup-visible which is used to automatically show the popup upon the internal open-state also sets some z-index (to 30 currently), which is totally unnecessary and contradivts the headless approach.

So we propose to investigate the following changes: