Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Regression bug] Cannot read property 'getBoundingClientRect' of undefined #59

Open
AndrewBogdanovTSS opened this issue Feb 26, 2020 · 2 comments

Comments

@AndrewBogdanovTSS
Copy link

AndrewBogdanovTSS commented Feb 26, 2020

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: ganlanyuan/tiny-slider#545

@jonathanmachado
Copy link

Same here

@michaelkove
Copy link

Has this been fixed? Or do we have a work-around?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants