Skip to content

Prevent unintentional closing of a modal#5319

Closed
sukhwinder33445 wants to merge 2 commits intomainfrom
feature/prevent-unintentional-closing-of-a-model
Closed

Prevent unintentional closing of a modal#5319
sukhwinder33445 wants to merge 2 commits intomainfrom
feature/prevent-unintentional-closing-of-a-model

Conversation

@sukhwinder33445
Copy link
Copy Markdown
Contributor

resolves #5307

@sukhwinder33445 sukhwinder33445 added the enhancement New feature or improvement label Feb 3, 2025
@sukhwinder33445 sukhwinder33445 self-assigned this Feb 3, 2025
@cla-bot cla-bot Bot added the cla/signed label Feb 3, 2025
@sukhwinder33445 sukhwinder33445 changed the title Feature/prevent unintentional closing of a model Prevent unintentional closing of a model Feb 3, 2025
@Al2Klimov Al2Klimov changed the title Prevent unintentional closing of a model Prevent unintentional closing of a modal May 5, 2025
@nilmerg nilmerg added this to the 2.14.0 milestone May 4, 2026
Don't close modal if it contains changes and:
- `ESCAPE` is pressed
- User click on the overlay
@nilmerg nilmerg force-pushed the feature/prevent-unintentional-closing-of-a-model branch from dd1f8e3 to bec3323 Compare May 5, 2026 11:53
@nilmerg
Copy link
Copy Markdown
Member

nilmerg commented May 6, 2026

I had to rework this from scratch as most of the changes here didn't fully track the user's changes nor did respect normal user interaction. (i.e. the blur upon pushing Escape to trigger the change event)

Opened #5501 as a result.

@nilmerg nilmerg closed this May 6, 2026
@nilmerg nilmerg removed this from the 2.14.0 milestone May 6, 2026
@nilmerg nilmerg removed their request for review May 6, 2026 09:38
@nilmerg nilmerg removed the enhancement New feature or improvement label May 6, 2026
@nilmerg nilmerg deleted the feature/prevent-unintentional-closing-of-a-model branch May 6, 2026 09:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Prevent unintentional closing of a modal

2 participants