daybrush / selecto

Selecto.js is a component that allows you to select elements in the drag area using the mouse or touch.
https://daybrush.com/selecto
MIT License
2k stars 81 forks source link

Selecto interferes with SELECT/OPTION combo box within Bootstrap drop-down menu #166

Closed miguelgarvie closed 4 months ago

miguelgarvie commented 4 months ago

Environments

Description

When creating a Selecto with the dragContainer being a parent of an element, a select combo box within a popup menu of that element doesn't work. Uncommenting the "return;" in index.html of the attached code fixes the popup issue. But we wan't to create a Selecto item to use it's features.

jstest.zip

miguelgarvie commented 4 months ago

This was solved by using the preventDefault: false parameter. Closing issue