stefanocudini / bootstrap-list-filter

Search widget to filter Bootstrap lists
https://opengeo.tech/bootstrap-list-filter/
MIT License
99 stars 31 forks source link

Cancel Button not working #19

Closed DeastinY closed 8 years ago

DeastinY commented 8 years ago

Hi, I added the bootstrap-list-filter.src.js and made the changes to the html. Everything works as expected, but the cancel button. Somehow the click doesn't work. Did I forget anything ?


Furthermore pressing enter clears the search :)

diddi- commented 8 years ago

It seems that the form-control-feedback class has changed in bootstrap 3.3, https://github.com/twbs/bootstrap/pull/14104

quick fix is to add the pointer-events CSS with cancelEl$.css({'pointer-events': 'auto'}); on line 79 in bootstrap-list-filter.src.js (this is immediately after the code that adds top: 0 CSS to the cancel button).

Not sure if that is the best way or if it introduces other issues, but it's working good for me at least.

dmuth commented 8 years ago

+1