Focus issue while calcite-popover is used from the calcite-dialog component. #10999
Closed
2 of 6 tasks
Labels
0 - new
New issues that need assignment.
ArcGIS AppStudio
Issues logged by ArcGIS AppStudio team members.
bug
Bug reports for broken functionality. Issues should include a reproduction of the bug.
calcite-components
Issues specific to the @esri/calcite-components package.
impact - p3 - not time sensitive
User set priority impact status of p3 - not time sensitive
needs triage
Planning workflow - pending design/dev review.
Check existing issues
Actual Behavior
Modelbuilder have a custom dialog html element which we were using to show tool dialog. With the rollout of new calcite-dialog component, I am trying to upgrade the component by using the calcite-dialog component instead of html dialog component.
Focus-issue-calcite-dialog.mp4
I am seeing this issue of focus being trapped in calcite-dialog when I am trying to open a calcite-popover from the calcite-dialog. The focus from calcite-dialog close button is not able to shift to popover close button. Might be due to multiple trappable components.
I also noticed that if a popover is open from the calcite-dialog, and when close button is clicked on popover, there is a console error related to the focus.
Here is the code pen of the above problem. https://codepen.io/mac_and_cheese/pen/WberzdQ?editors=1000
Machine details:
Windows 11,
Chrome version: Version 131.0.6778.108 (Official Build) (64-bit)
calcite-components: 2.14.0-next.20
Expected Behavior
There should be no errors in the console, and focus should transfer to the components.
Reproduction Sample
https://codepen.io/mac_and_cheese/pen/WberzdQ?editors=1000
Reproduction Steps
Reproduction Version
2.14.0-next.20
Relevant Info
Machine details:
Windows 11,
Chrome version: Version 131.0.6778.108 (Official Build) (64-bit)
calcite-components: 2.14.0-next.20
Regression?
No response
Priority impact
impact - p3 - not time sensitive
Impact
No response
Calcite package
Esri team
ArcGIS AppStudio
The text was updated successfully, but these errors were encountered: