You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
classTestSelectextendsComponent{state={options: ["apple","mango","grapes","melon","strawberry"].map(fruit=>({label: fruit,value: fruit}))}render(){return(<divstyle={{border: '1px solid black',height: 200,overflow: "auto",padding: 20}}><divstyle={{padding: 20}}>
Lorem ipsum dolor sit amet, consectetur adipiscing elit
</div><SimpleSelectoptions={this.state.options}placeholder="Select a fruit"theme="bootstrap3"hideResetButtontether={true}placeholder="Select a fruit"></SimpleSelect><divstyle={{padding: 20}}>
Fusce aliquet dui tortor, imperdiet viverra augue pretium nec
</div></div>)}}
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem:
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:
mdekalka
changed the title
TypeError: Cannot read property 'position' of undefined when using **tether** option
TypeError: Cannot read property 'position' of undefined when using [tether] option
Jan 8, 2018
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:
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: