Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Modal Trigger Issue with Top Navigation Enabled #16

Merged
merged 1 commit into from
Nov 18, 2023
Merged

Fix: Modal Trigger Issue with Top Navigation Enabled #16

merged 1 commit into from
Nov 18, 2023

Conversation

andrewdwallo
Copy link
Contributor

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.mov

@bezhanSalleh bezhanSalleh merged commit f36deb3 into bezhanSalleh:3.x Nov 18, 2023
3 of 9 checks passed
@bezhanSalleh
Copy link
Owner

bezhanSalleh commented Nov 18, 2023

Fixes #12
Fixes #14

Thanks mate! 🍻

@andrewdwallo andrewdwallo deleted the fix/top-navigation-issue branch November 18, 2023 19:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants