Skip to content

Fix dialog overlay close on drag/click events#104

Open
PhilipdeRijk wants to merge 1 commit intohunvreus:developmentfrom
PhilipdeRijk:fix/dialog-close-drag
Open

Fix dialog overlay close on drag/click events#104
PhilipdeRijk wants to merge 1 commit intohunvreus:developmentfrom
PhilipdeRijk:fix/dialog-close-drag

Conversation

@PhilipdeRijk
Copy link
Copy Markdown
Contributor

onclick="if (event.target === this) this.close()" on dialogs caused it to close when clicking inside a dialog, dragging the mouse and releasing outside. Users have found this behavior to be annoying. Updated example to fix this behavior.

@hunvreus
Copy link
Copy Markdown
Owner

hunvreus commented Jan 3, 2026

Can you rework this fix on all the templates (including Nunjucks) and avoiding changing the indentation?

@hunvreus
Copy link
Copy Markdown
Owner

hunvreus commented Jan 5, 2026

@PhilipdeRijk could you rework this on the latest development branch?

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.

2 participants