Skip to content

[dialog] add options to allow adjustments to focus-trap behavior #11345

@rpanichakit9541

Description

@rpanichakit9541

Check existing issues

Description

When using calcite-dialgo with modal prop, it currently prevents the user from clicking on anything that's not contained within the dialog. In the current case we're running into an issue with this is we're using CKEditor inside the calcite-dialog which has certain options that render its own version of a pop over to allow adding link URL. Because this input is being rendered directly on the document body instead of inside the DOM within the dialog content, the user is not able to click to input the URL text or click the cancel or save button within this 3rd party pop over. (Screenshot below)

Blocked issues: #11416, #11420

Image

Acceptance Criteria

I would like to see if there's a prop that can be exposed to allow customizing the calcite-dialog to still maintain focus trap while the user uses keyboard navigation, but allow the user to use the mouse to click on UI elements like this 3rd party pop over even though the DOM elements are not rendered within the calcite-dialog.

Relevant Info

No response

Which Component

calcite-dialog with modal prop

Example Use Case

https://devtopia.esri.com/WebGIS/arcgis-metadata-editor/issues/1537

Priority impact

impact - p3 - not time sensitive

Calcite package

  • @esri/calcite-components
  • @esri/calcite-components-react
  • @esri/calcite-design-tokens
  • @esri/calcite-ui-icons
  • @esri/eslint-plugin-calcite-components

Esri team

ArcGIS Online

Metadata

Metadata

Assignees

Labels

4 - verifiedIssues that have been tested, confirmed as mitigated, and are ready to close.ArcGIS OnlineIssues logged by ArcGIS Online team members.enhancementIssues tied to a new feature or request.estimate - 8Requires input from team, consider smaller steps.impact - p3 - not time sensitiveUser set priority impact status of p3 - not time sensitivep - highIssue should be addressed in the current milestone, impacts component or core functionality

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions