-
Notifications
You must be signed in to change notification settings - Fork 77
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(dialog, modal, sheet): preserve focus-trap extra containers across internal trap updates #11548
Merged
jcfranco
merged 1 commit into
dev
from
jcfranco/11523-keep-track-of-extra-containers-on-internal-focus-trap-container-updates
Feb 14, 2025
Merged
fix(dialog, modal, sheet): preserve focus-trap extra containers across internal trap updates #11548
jcfranco
merged 1 commit into
dev
from
jcfranco/11523-keep-track-of-extra-containers-on-internal-focus-trap-container-updates
Feb 14, 2025
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…s internal trap updates
benelan
approved these changes
Feb 14, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code LGTM but would it be feasible to add spec coverage? If so, it can be in a follow up PR too.
Yeah, I'm planning to cover all controller testing in #11305. |
Merged
benelan
pushed a commit
that referenced
this pull request
Feb 14, 2025
🤖 I have created a release *beep* *boop* --- <details><summary>@esri/calcite-components: 3.0.1</summary> ## [3.0.1](https://github.com/Esri/calcite-design-system/compare/@esri/[email protected]...@esri/[email protected]) (2025-02-14) ### Bug Fixes * **dialog, modal, sheet:** Preserve focus-trap extra containers across internal trap updates ([#11548](#11548)) ([4e421b7](4e421b7)) * **input-date-picker:** Allow navigating between months using chevron actions in Safari ([#11547](#11547)) ([9b8c02e](9b8c02e)) * **list, block-group:** Drag menu 'Move to' actions broken when list elements have explicit ids ([#11515](#11515)) ([e0daf83](e0daf83)) </details> <details><summary>@esri/calcite-components-react: 3.0.1</summary> ## [3.0.1](https://github.com/Esri/calcite-design-system/compare/@esri/[email protected]...@esri/[email protected]) (2025-02-14) ### Miscellaneous Chores * **@esri/calcite-components-react:** Synchronize components versions ### Dependencies * The following workspace dependencies were updated * dependencies * @esri/calcite-components bumped from 3.0.0 to 3.0.1 </details> --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
benelan
pushed a commit
that referenced
this pull request
Feb 14, 2025
🤖 I have created a release *beep* *boop* --- <details><summary>@esri/calcite-components: 3.0.1</summary> [3.0.1](https://github.com/Esri/calcite-design-system/compare/@esri/[email protected]...@esri/[email protected]) (2025-02-14) * **dialog, modal, sheet:** Preserve focus-trap extra containers across internal trap updates ([#11548](#11548)) ([4e421b7](4e421b7)) * **input-date-picker:** Allow navigating between months using chevron actions in Safari ([#11547](#11547)) ([9b8c02e](9b8c02e)) * **list, block-group:** Drag menu 'Move to' actions broken when list elements have explicit ids ([#11515](#11515)) ([e0daf83](e0daf83)) </details> <details><summary>@esri/calcite-components-react: 3.0.1</summary> [3.0.1](https://github.com/Esri/calcite-design-system/compare/@esri/[email protected]...@esri/[email protected]) (2025-02-14) * **@esri/calcite-components-react:** Synchronize components versions * The following workspace dependencies were updated * dependencies * @esri/calcite-components bumped from 3.0.0 to 3.0.1 </details> --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
benelan
added a commit
that referenced
this pull request
Feb 14, 2025
🤖 I have created a release *beep* *boop* --- <details><summary>@esri/calcite-components: 3.0.1</summary> [3.0.1](https://github.com/Esri/calcite-design-system/compare/@esri/[email protected]...@esri/[email protected]) (2025-02-14) * **dialog, modal, sheet:** Preserve focus-trap extra containers across internal trap updates ([#11548](#11548)) ([4e421b7](4e421b7)) * **input-date-picker:** Allow navigating between months using chevron actions in Safari ([#11547](#11547)) ([9b8c02e](9b8c02e)) * **list, block-group:** Drag menu 'Move to' actions broken when list elements have explicit ids ([#11515](#11515)) ([e0daf83](e0daf83)) </details> <details><summary>@esri/calcite-components-react: 3.0.1</summary> [3.0.1](https://github.com/Esri/calcite-design-system/compare/@esri/[email protected]...@esri/[email protected]) (2025-02-14) * **@esri/calcite-components-react:** Synchronize components versions * The following workspace dependencies were updated * dependencies * @esri/calcite-components bumped from 3.0.0 to 3.0.1 </details> --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: Calcite Admin <[email protected]>
benelan
added a commit
that referenced
this pull request
Feb 17, 2025
* origin/dev: (171 commits) chore(tip-manager): drop empty spec test (#11568) chore: release next feat(chip): enhance component's interactivity states (#11538) chore: release next fix(tooltip): close tooltips on prevented pointer move events (#11557) chore: release main (#11561) chore: release next revert: build(deps): update arcgis to ^4.33.0-next.13 (#11539) (#11559) fix(dialog, modal, popover, sheet): fixes an issue that caused extra containers to be lost after internal trap updates (#11556) chore: release main (#11551) build(deps): update arcgis to ^4.33.0-next.13 (#11539) chore: release next fix(input-date-picker): allow navigating between months using chevron actions in Safari (#11547) chore: release next fix(dialog, modal, sheet): preserve focus-trap extra containers across internal trap updates (#11548) chore: release next feat(segmented-control-item): enhance component's interactivity states (#11477) chore: release next refactor: drop deprecated loadable component utilities (#11479) docs: link to package readmes from root readme (#11531) ...
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bug
Bug reports for broken functionality. Issues should include a reproduction of the bug.
pr ready for visual snapshots
Adding this label will run visual snapshot testing.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Related Issue: #11523
Summary
Internal calls to
updateFocusTrap
caused user-providedextraContainers
to be lost. This updatesuseFocusTrap
to maintain stateful focusable containers for subsequent updates.