Skip to content

date-picker: double focus causing blink effect #11371

@anveshmekala

Description

@anveshmekala

Check existing issues

Actual Behavior

When focus shifts from chevron in date-picker header, focus outline appears on both action and host element causing a blink effect.

Expected Behavior

Focus shift should be eased out with outline around chevron action.

Reproduction Sample

https://codepen.io/anvesh-mekala/pen/EaYdbvm

Reproduction Steps

  1. Click on previous chevron action in header.
  2. Observe the focus on chevron.
  3. Click/Tab on to next chevron action in header.
  4. Observe the focus outline appears on host of previous chevron causing a blink effect.

Reproduction Version

3.0.0-next.25

Relevant Info

Caused by #10836

Regression?

3.0.0-next.24

Priority impact

impact - p3 - not time sensitive

Impact

No response

Calcite package

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

Esri team

N/A

Metadata

Metadata

Labels

4 - verifiedIssues that have been tested, confirmed as mitigated, and are ready to close.bugBug reports for broken functionality. Issues should include a reproduction of the bug.estimate - 1Very small fix or change (potentially a single line), doesn't require updates to tests.impact - p3 - not time sensitiveUser set priority impact status of p3 - not time sensitivep - mediumIssue is non core or affecting less that 60% of people using the library

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions