Skip to content
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

Popover element is not closed when clicking outside on a Select element #10817

Open
2 of 6 tasks
y-elouri opened this issue Nov 20, 2024 · 0 comments
Open
2 of 6 tasks
Labels
0 - new New issues that need assignment. ArcGIS Web Analysis Issues logged by ArcGIS Web Analysis 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.

Comments

@y-elouri
Copy link

y-elouri commented Nov 20, 2024

Check existing issues

Actual Behavior

<calcite-popover auto-close> does not close when clicking outside on a <calcite-select> element. This happens only on Safari.

Expected Behavior

The popover should be closed as the click was initiated outside.

Reproduction Sample

https://codepen.io/yelouri/pen/dyxBWjX

Reproduction Steps

  1. Click on the caret of the element with Offset distance placeholder
  2. Two choices:
    2.a. click in any blank space outside ==> popover is closed ✅
    2.b. click on the caret of the first dropdown ==> popover remains open ❌
Screenshot 2024-11-20 at 11 06 46 AM

Reproduction Version

2.13.0

Relevant Info

Browsers affected: Safari,

*Chrome & Firefox seems OK, but there's a flashing that happens on the <calcite-select> element.

Regression?

No response

Priority impact

impact - p3 - not time sensitive

Impact

https://devtopia.esri.com/WebGIS/arcgis-web-analysis/issues/7549

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 Web Analysis

@y-elouri y-elouri added 0 - new New issues that need assignment. bug Bug reports for broken functionality. Issues should include a reproduction of the bug. needs triage Planning workflow - pending design/dev review. labels Nov 20, 2024
@github-actions github-actions bot added ArcGIS Web Analysis Issues logged by ArcGIS Web Analysis team members 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 labels Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0 - new New issues that need assignment. ArcGIS Web Analysis Issues logged by ArcGIS Web Analysis 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.
Projects
None yet
Development

No branches or pull requests

1 participant