[Carousel] Carousel Items shouldn't animate when using Home
/ End
and destination Carousel Item is currently active
#9471
Labels
4 - verified
Issues that have been released and confirmed resolved.
bug
Bug reports for broken functionality. Issues should include a reproduction of the bug.
c-carousel
Issues that pertain to the calcite-carousel component
Calcite (design)
Issues logged by Calcite designers.
calcite-components
Issues specific to the @esri/calcite-components package.
estimate - 2
Small fix or update, may require updates to tests.
impact - p3 - not time sensitive
User set priority impact status of p3 - not time sensitive
p - low
Issue is non core or affecting less that 10% of people using the library
Milestone
Check existing issues
Actual Behavior
When the Carousel component is focused, and keyboard is used to navigate with
Home
andEnd
- the component should not animate if the currently active Carousel Item is first, or last, and matches the destination.The behavior should match the behavior of clicking on a currently active Carousel Item's representative "dot", or using the
Space
orEnter
key on a currently active Carousel Item's representative "dot".Expected Behavior
If the currently active Carousel Item is first, and a user navigates with
Home
, or the currently active Carousel item is last, and a user navigates withEnd
, the animation should not play.Screen.Recording.2024-05-30.at.2.12.16.PM.mov
Reproduction Sample
https://codepen.io/mac_and_cheese/pen/pomRYPd?editors=100
Reproduction Steps
Home
/End
while the first / last Carousel Item are already active.Space
/Enter
on the active dot, and notice the animation (correctly) does not occur.Reproduction Version
2.9.0
Relevant Info
No response
Regression?
No response
Priority impact
impact - p3 - not time sensitive
Impact
No response
Calcite package
Esri team
Calcite (design)
The text was updated successfully, but these errors were encountered: