This commit addresses a critical issue where modals were not properly triggering or opening when top navigation was enabled in the application. For some reason, when top navigation is enabled, the icon button which triggers the modal needed to be reinitialized using alpine's x-data attribute. Users experiencing difficulty in interacting with modals in this scenario should now find the functionality working as expected.
Additionally, I have implemented a sticky header for modals when in slide-over mode. This improves the design of the header in the slide-over.
This commit addresses a critical issue where modals were not properly triggering or opening when top navigation was enabled in the application. For some reason, when top navigation is enabled, the icon button which triggers the modal needed to be reinitialized using alpine's
x-data
attribute. Users experiencing difficulty in interacting with modals in this scenario should now find the functionality working as expected.Additionally, I have implemented a sticky header for modals when in slide-over mode. This improves the design of the header in the slide-over.
Video
PanelSwitch