vue-tiny-slider
vue-tiny-slider copied to clipboard
[Regression bug] Cannot read property 'getBoundingClientRect' of undefined
How to reproduce:
- create slider with 1 slide
- set autoWidth to true
Actual Result: Uncaught TypeError: Cannot read property 'getBoundingClientRect' of undefined Controls stay visible even there is only 1 slide https://take.ms/fj2Nq
Expected result: No errors in the console. Controls dissapear after slider initialization.
Bug was introduced in releases from 0.1.31 to 0.1.39 Not present in version 0.1.30
Repro link: https://codesandbox.io/s/vue-template-1510w
Related to: https://github.com/ganlanyuan/tiny-slider/issues/545
Same here
Has this been fixed? Or do we have a work-around?