react-selectize icon indicating copy to clipboard operation
react-selectize copied to clipboard

Clicking Scrollbar triggers close SimpleSelect when in Bootstrap Modal

Open annelorraineuy opened this issue 8 years ago • 9 comments

This happens in a SimpleSelect with almost 3000 options, that when I click on the scrollbar SimpleSelect automatically closes itself. So far its only on this dropdown in the bootstrap modal. How do I fix this?

http://i66.tinypic.com/w1qt81.png dropdown

This is my declaration: <SimpleSelect placeholder="Search or Type Item name" onValueChange={this.onItemSelect} ref="itemName" theme="bootstrap3" autofocus={true} style={{ fontSize: "12" }} uid={(item) => item.value} options={this.state.labels} />

annelorraineuy avatar Aug 03 '16 20:08 annelorraineuy

Sorry, for clarification on the issue: Users can't use the scrollbar on the dropdown without it closing upon click.

annelorraineuy avatar Aug 11 '16 21:08 annelorraineuy

Noticed the issue here too. I just happened to be using the bootstrap modal as well. I wonder if it has anything to do with the modal? Shouldn't it be as simple as preventing any click through that's not on a list item?

ZeeStorm avatar Aug 26 '16 16:08 ZeeStorm

Had the same issue, but with a different modal implementation. I was able to fix this by removing tabIndex from the modal container.

mark-engagio avatar Oct 06 '16 21:10 mark-engagio

@annelorraineuy currently i have the same issue with the version 2.0.3, a solution can be add a property tether={false} but its no working for me.

nice00xt avatar Nov 21 '16 15:11 nice00xt

I have the same problem. tether property does not help.

Any updates on this ?

enthusiastmartin avatar Jan 19 '17 13:01 enthusiastmartin

Pushing for an update on this as we have clients experiencing this issue on a live platform.

damienrobson avatar Apr 26 '17 08:04 damienrobson

+1 on this

db654 avatar Jun 27 '17 20:06 db654

Remembering this issue I solved adding transitionEnter={false} property, you can try if you don't want to use a animation to display the dropdown, work for me even on IE10 browser.

nice00xt avatar Jun 27 '17 20:06 nice00xt

any update on this? please anyone?

vishnuborn1996 avatar Feb 10 '22 15:02 vishnuborn1996