-
Notifications
You must be signed in to change notification settings - Fork 138
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 'position' of undefined when using [tether] option #193
Comments
I confirm this is also happening to me with react 16.0.0 and react-selectize 3.0.1 using Chromium 64.0.3282.140 |
Does anybody work on fix for this issue? I had a reply on danreeves/react-tether#62 |
if we change something like it might fix it (I am really bad with livescript, it might have an error) |
I have fork and fix this issue in https://github.com/santiagoGuti/react-selectize, it is a temporal fix but it is better than nothing. |
Do you want to request a feature or report a bug?
Bug
What is the current behavior?
Create a SimpleSelect component with tether option. Try to chose any item option - error TypeError: Cannot read property 'position' of undefined appears.
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem:
![image](https://user-images.githubusercontent.com/5993559/34668989-b997e204-f480-11e7-922a-05a0027e9a01.png)
Select SimpleSelect component and try to chose any option.
Demo issue: https://codesandbox.io/s/j26ojv34kw
Gif:
What is the expected behavior?
After choosing any option with enabled tether option - select should not throwing error.
Which versions of React, and which browser / OS are affected by this issue? Did this work in previous versions of React?
React 16.0.0
Note: This demo will work with React v.15.4.2+, but I catched few times this issue also, but can't create an always-reproduce code to test.
Chrome 63.0.3239.84 Win10
P.S. Seems the same issue #189, just create a more reliable ticket.
The text was updated successfully, but these errors were encountered: