[Label] Wrapped components and focus shifting #8038
Labels
0 - new
New issues that need assignment.
ArcGIS Charts
Issues logged by ArcGIS Charts team members.
ArcGIS Map Viewer
Issues logged by ArcGIS Map Viewer 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.
estimate - 5
A few days of work, definitely requires updates to tests.
has workaround
Issues have a workaround available in the meantime.
impact - p2 - want for an upcoming milestone
User set priority impact status of p2 - want for an upcoming milestone
p - medium
Issue is non core or affecting less that 60% of people using the library
Milestone
Check existing issues
Actual Behavior
As identified in #5070 (comment), certain browsers (Chrome, Safari, and Edge) shift focus to the first element when wrapped in
label
. Also applies to the Charts team.cc @zaramatheson @AdelheidF @jcfranco
Expected Behavior
The behavior is similar to what is observed in native HTML, but there may be a solution that can be explored as Calcite's code is managing the focus behavior.
Reproduction Sample
https://codepen.io/geospatialem/pen/poGvgrO
Reproduction Steps
input
and hold the mouse button while moving the mouse over theslider
and release the mouse button.slider
shifts focusReproduction Version
1.9.2
Relevant Info
#5070 addressed when elements are wrapped in a
calcite-label
that the first element should receive, or steal, focus.Regression?
No response
Priority impact
p3 - want for upcoming milestone
Impact
No response
Calcite package
Esri team
ArcGIS Map Viewer
The text was updated successfully, but these errors were encountered: