ismail9k / vue3-carousel

Vue 3 carousel component
https://ismail9k.github.io/vue3-carousel/
MIT License
653 stars 162 forks source link

Incorrect Slide CSS Offset Calculation after Parent Element Scaling #321

Open zjlssc opened 10 months ago

zjlssc commented 10 months ago

Describe the bug The offset calculation of content items is incorrect when the parent element is scaled.

To Reproduce Steps to reproduce the behavior:

  1. Set any scaling factor for the parent element, for example, transform: scale(0.68958, 0.68958).
  2. Observe the positioning error in the slide content.

Expected behavior image

Screenshots image

Desktop (please complete the following information):

shaunrainer commented 3 months ago

Having the same issue? any update on this?