[Modal] Disable Focus Trap does not work if assigned later #11527
Labels
4 - verified
Issues that have been released and confirmed resolved.
ArcGIS Business/Community Analyst
Issues logged by ArcGIS Business/Community Analyst team members.
bug
Bug reports for broken functionality. Issues should include a reproduction of the bug.
estimate - 5
A few days of work, definitely requires updates to tests.
impact - p1 - need for current milestone
User set priority impact status of p1 - need for current milestone
p - high
Issue should be addressed in the current milestone, impacts component or core functionality
regression
Issues that are caused by changes in a release, but were working before that.
Milestone
Check existing issues
Actual Behavior
If I assign
focusTrapDisabled
to a modal after it was created, the focus trap is not disabled.Expected Behavior
The focus trap should be disabled anytime after
focusTrapDisabled
is assigned to a modalReproduction Sample
https://codepen.io/Hieu-Pham-the-animator/pen/jENMBXy?editors=1111
Reproduction Steps
focusTrapDisabled
property after the modal is createdNote:
focusTrapDisabled
was assigned during Modal creation, it worked correctlyallowOutsideClick
infocusTrapOptions
does not work for Input. We still cannot click on any input despite setting this totrue
.Reproduction Version
https://codepen.io/Hieu-Pham-the-animator/pen/jENMBXy?editors=1111
Relevant Info
Calcite Version: 3.0.0
Regression?
3.0.0-next.119
Priority impact
impact - p1 - need for current milestone
Impact
In BA Web App, we need to disable the focus trap if users click outside of a Modal.
Calcite package
Esri team
ArcGIS Business/Community Analyst
The text was updated successfully, but these errors were encountered: