-
Notifications
You must be signed in to change notification settings - Fork 125
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Buttons problem after filter #179
Comments
I think it's related to the automatic filtering. If after fill the field i press in other part of the sreen (unfocusing the filter form), the button to show the item works fine. |
I'm seeing this as well. |
We had this same problem. I believe it's because of the jQuery selector, which IS working correctly, but maybe not how you want it to. My theory... Context:
What I think the "double click" is:
You can verify this by adding some debugging step when the table is refreshed (i.e. a To get around it: Solution:
and overwrote how to bind to elements. In our case, we wanted a submit button, so I added a Submit button (in the form! you can use CSS to hide it if you want..) To handle hitting Filterrific's function So in the JS, on the page ready, copy similar functionality binding to the form
If this was a better solution, I'd PR it... |
@cartond thanks for the patch suggestion -- just wanted to see if anyone else has come up with any ideas for preventing this double firing? |
After filter the table, the buttons needs to be clicked twice times to work.
In application.js:
I dont know what happen....
The text was updated successfully, but these errors were encountered: