-
Notifications
You must be signed in to change notification settings - Fork 78
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, popover, sheet): restore focusTrapDisabled
reactiveness
#11586
Merged
jcfranco
merged 2 commits into
dev
from
jcfranco/11527-restore-focusTrapDisabled-reactiveness
Feb 19, 2025
Merged
fix(dialog, modal, popover, sheet): restore focusTrapDisabled
reactiveness
#11586
jcfranco
merged 2 commits into
dev
from
jcfranco/11527-restore-focusTrapDisabled-reactiveness
Feb 19, 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
focusTrapDisabled
reactiveness
driskull
reviewed
Feb 19, 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 changes look good but some tests are failing it seems
@driskull Tests should be fixed in the next run. 🤞 |
driskull
approved these changes
Feb 19, 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.
👍 💯
benelan
pushed a commit
that referenced
this pull request
Feb 19, 2025
benelan
pushed a commit
that referenced
this pull request
Feb 19, 2025
Merged
benelan
pushed a commit
that referenced
this pull request
Feb 19, 2025
🤖 I have created a release *beep* *boop* --- <details><summary>@esri/calcite-components: 3.0.3</summary> ## [3.0.3](https://github.com/Esri/calcite-design-system/compare/@esri/calcite-components@3.0.2...@esri/calcite-components@3.0.3) (2025-02-19) ### Bug Fixes * **dialog, modal, popover, sheet:** Restore `focusTrapDisabled` reactiveness ([#11586](#11586)) ([a32dd7e](a32dd7e)) * **input-date-picker:** No longer close while navigating months with chevron actions ([#11525](#11525)) ([acf5824](acf5824)) * **slider:** Ensure histograms with non-zero min are displayed correctly ([#11587](#11587)) ([9bb32f6](9bb32f6)) * **tooltip:** Close tooltips on prevented pointer move events ([#11557](#11557)) ([470df20](470df20)) </details> <details><summary>@esri/calcite-components-react: 3.0.3</summary> ## [3.0.3](https://github.com/Esri/calcite-design-system/compare/@esri/calcite-components-react@3.0.2...@esri/calcite-components-react@3.0.3) (2025-02-19) ### Miscellaneous Chores * **@esri/calcite-components-react:** Synchronize components versions ### Dependencies * The following workspace dependencies were updated * dependencies * @esri/calcite-components bumped from 3.0.2 to 3.0.3 </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 19, 2025
🤖 I have created a release *beep* *boop* --- <details><summary>@esri/calcite-components: 3.0.3</summary> [3.0.3](https://github.com/Esri/calcite-design-system/compare/@esri/calcite-components@3.0.2...@esri/calcite-components@3.0.3) (2025-02-19) * **dialog, modal, popover, sheet:** Restore `focusTrapDisabled` reactiveness ([#11586](#11586)) ([a32dd7e](a32dd7e)) * **input-date-picker:** No longer close while navigating months with chevron actions ([#11525](#11525)) ([acf5824](acf5824)) * **slider:** Ensure histograms with non-zero min are displayed correctly ([#11587](#11587)) ([9bb32f6](9bb32f6)) * **tooltip:** Close tooltips on prevented pointer move events ([#11557](#11557)) ([470df20](470df20)) </details> <details><summary>@esri/calcite-components-react: 3.0.3</summary> [3.0.3](https://github.com/Esri/calcite-design-system/compare/@esri/calcite-components-react@3.0.2...@esri/calcite-components-react@3.0.3) (2025-02-19) * **@esri/calcite-components-react:** Synchronize components versions * The following workspace dependencies were updated * dependencies * @esri/calcite-components bumped from 3.0.2 to 3.0.3 </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 19, 2025
🤖 I have created a release *beep* *boop* --- <details><summary>@esri/calcite-components: 3.0.3</summary> [3.0.3](https://github.com/Esri/calcite-design-system/compare/@esri/calcite-components@3.0.2...@esri/calcite-components@3.0.3) (2025-02-19) * **dialog, modal, popover, sheet:** Restore `focusTrapDisabled` reactiveness ([#11586](#11586)) ([a32dd7e](a32dd7e)) * **input-date-picker:** No longer close while navigating months with chevron actions ([#11525](#11525)) ([acf5824](acf5824)) * **slider:** Ensure histograms with non-zero min are displayed correctly ([#11587](#11587)) ([9bb32f6](9bb32f6)) * **tooltip:** Close tooltips on prevented pointer move events ([#11557](#11557)) ([470df20](470df20)) </details> <details><summary>@esri/calcite-components-react: 3.0.3</summary> [3.0.3](https://github.com/Esri/calcite-design-system/compare/@esri/calcite-components-react@3.0.2...@esri/calcite-components-react@3.0.3) (2025-02-19) * **@esri/calcite-components-react:** Synchronize components versions * The following workspace dependencies were updated * dependencies * @esri/calcite-components bumped from 3.0.2 to 3.0.3 </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 <calcite-admin@esri.com>
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: #11527
Summary
This updates
useFocusTrap
to toggle the trap accordingly iffocusTrapDisabled
is modified at runtime.Note: Testing for this and other controllers will be addressed in #11305 and #11558.