rancher / dashboard

The Rancher UI
https://rancher.com
Apache License 2.0
463 stars 261 forks source link

Navigation in the extensions carousel is not working correctly #12480

Open IsaSih opened 2 weeks ago

IsaSih commented 2 weeks ago

Setup

Describe the bug The extensions displayed in the carousel animation are misaligned leading to the first one (Vault) not being clickable at all and many blank spaces are shown in the carousel navigation

To Reproduce 1- From the Rancher UI, select a cluster in the side menu bar 2- From the cluster menu options, go to Apps > Charts 3- Observe how the carousel navigation is misaligned 4- Use the arrows to navigate the carousel

Result User is not able to select the first extension that is displayed in the carousel, whereas there are a few blank spaces when navigating the extensions carousel in both ways

Expected Result Carousel must display an extension at a time and an extension should be displayed and clickable for each frame of the carousel, with no blank spaces

Screenshots

https://github.com/user-attachments/assets/1f674312-89e7-412e-8c5b-896b9e39b23d

richard-cox commented 2 weeks ago

I'm guessing another item was added (3 entries --> 4). We had this before i think when the number changed.

Definitely need unit / e2e tests with varying numbers of entries

IsaSih commented 1 week ago

This is also occurring in v2.9-head (v2.9-1d1065cd5bf09c23834720420e1153712fa43439-head)