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

STCOM-1382 Assign modal escape key handler to modal element rather than document #2389

Merged
merged 1 commit into from
Nov 13, 2024

Conversation

JohnC-80
Copy link
Contributor

STCOM-1382

See UIQM-732 for the module-level bug.

Modal hangs its escape key listener on the document rather than one of its owned elements. this can be problematic if an app has a escape shortcut key that's set up the same way. See the UI-QuickMarc bug for details. TLDR: escape key in dirty form should trigger the confirmation modal, but instead it opens the modal and immediately closes it, exiting the form without any confirmation.

Copy link

Bigtest Unit Test Results

    1 files  ±0      1 suites  ±0   15s ⏱️ ±0s
1 531 tests ±0  1 523 ✅ ±0  8 💤 ±0  0 ❌ ±0 
1 533 runs  ±0  1 525 ✅ ±0  8 💤 ±0  0 ❌ ±0 

Results for commit 235e209. ± Comparison against base commit 14df458.

@JohnC-80 JohnC-80 requested a review from a team November 12, 2024 22:04
Copy link
Contributor

@BogdanDenis BogdanDenis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @JohnC-80!

@JohnC-80 JohnC-80 merged commit 2f43c1c into master Nov 13, 2024
15 checks passed
@zburke
Copy link
Member

zburke commented Nov 15, 2024

Please update the commit subject with the JIRA slug when you merge. Release scripts use the commit subject, not the PR title, to find tickets in Jira and set the fixVersion field. Thank you!

@zburke zburke deleted the STCOM-1382 branch November 15, 2024 12:27
zburke pushed a commit that referenced this pull request Nov 15, 2024
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.

3 participants