-
Notifications
You must be signed in to change notification settings - Fork 33
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
TypeError: Cannot read property 'width' of undefined. #113
Comments
@grinyahoo Were you able to find a fix for this? I am also facing the same issue. I am trying to add tabs dynamically. When i add more tabs I get this same issue. |
@amarteragundi I've made a patched module:
|
This does not work in TypeScript |
@TechStudent10 I just saw this but you should just build your won. It only takes about an hour. Less bloat and you are not dependent on people who are really busy with their own work already. |
Cast to
Boolean
in https://github.com/maslianok/react-responsive-tabs/blob/master/src/index.js#L147 leads to error above when width is 0 and there are no tabs shown. Check forundefined
instead.v4.3.0...v4.4.2#diff-bfe9874d239014961b1ae4e89875a6155667db834a410aaaa2ebe3cf89820556R147
The text was updated successfully, but these errors were encountered: