solid-design-system / solid

Monorepo for Union Investment's Solid Design System.
https://solid-design-system.fe.union-investment.de/x.x.x/storybook/
Other
19 stars 3 forks source link

fix: 🤔 wrong behavior in dot-controls of `sd-carousel` #1398

Open karlbaumhauer opened 1 week ago

karlbaumhauer commented 1 week ago

Current behavior

Consider the following setup: variant: dot, slides-per-page: 4, slides-per-move: 1. Clicking the arrows is working fine, but directly clicking the bullets leads to the wrong positions in some sliders. In the screenshot, you can see that the 2nd dot is clicked, but the last one is shown as active. Image

Expected behavior

dot controls work as expected (TBA)/ number controls have their own behavior.

Steps to reproduce

see above

Technical Information

DoR

DoD