DataTables / Responsive

Responsive extension for DataTables, providing support for complex tables on all device screen sizes
Other
148 stars 87 forks source link

Responsive tbody mousedown.dtr event prevents select option dropdown within datatable tbody #76

Closed djuba closed 8 years ago

djuba commented 8 years ago

In http://jsfiddle.net/myu7vbtf/1/, the select box in Column 1 Row 1 does not show the dropdown options when clicked. If you uncomment the bottom javascript line and run you can then click on the select box and see the dropdown options. This issue is due to the e.preventDefault() in the responsive._detailsInit .on('mousedown.dtr') handler.

DataTables commented 8 years ago

This has already been resolved by #68. See http://jsfiddle.net/myu7vbtf/2/ . You would need a stopPropagation on click for your select for it to not activate the child row.