Esri / calcite-design-system

A monorepo containing the packages for Esri's Calcite Design System
https://developers.arcgis.com/calcite-design-system/
Other
281 stars 77 forks source link

Bug - unnecessary scroll bar appears for list items that contain a nested list #9949

Closed sagewall closed 1 month ago

sagewall commented 1 month ago

Check existing issues

Actual Behavior

Beginning with version 2.10.0 an unnecessary scroll bar appears for list items containing a nested list when it has the keyboard focus. scrollbar

Expected Behavior

No scroll bar appears

Reproduction Sample

https://codepen.io/sagewall/pen/KKjWOEM

Reproduction Steps

  1. Open the codepen
  2. Expand the ACS School Enrollment Variables - Boundaries list item
  3. Collapse the list item
  4. Notice how a scroll bar appears in the list item while it retains the keyboard focus
  5. Click somewhere outside the list or hit tab
  6. Notice how the scrollbar goes away

Reproduction Version

2.10.0

Relevant Info

Could be related to this commit.

Regression?

2.9.0

Priority impact

impact - p2 - want for an upcoming milestone

Impact

Impacts the ArcGIS Maps SDK widgets and components that use the calcite list. This also affects all the app teams that use the JS SDK like Map Viewer, Scene Viewer, Experience Builder and Instant Apps.

Calcite package

Esri team

ArcGIS Maps SDK for JavaScript

github-actions[bot] commented 1 month ago

Installed and assigned for verification.

geospatialem commented 1 month ago

Verified in 2.12.0-next.5:

verify-scrollbar