-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Strange behavior on searchable table #1909
Comments
I'm having the exact same problems. |
The problem happens when using searchable with custom template. Because no Simply disable the |
Ok, I see it is for #833. Need to think about it. |
I can verify the issue too |
I fixed this issue with the following modifications on the beforeDestroy hook in TableColumn.vue :
With template scope, column headers are actually deleted and recreated each time a cell is destroyed, this is annoying on searchable columns because the search field loses focus when rows are filtered as it is destroyed and recreated Should I make a PR on that ? |
Have you noticed that pagination stops working after any input into the search field, too? |
yes. |
Overview of the problem
Buefy version: [0.8.6]
Vuejs version: [2.6.10]
OS/Browser: Chrome v78 on windows 10
Description
Searchable table emits a blur event after 1 or 2 chars have been pressed.
Furthermore, if no results are found, the entire table is gone and a page refresh is needed to show the table again.
I am using it as a an attribute on the column itself, like so:
What can be the couse for this behavior?
Thanks.
The text was updated successfully, but these errors were encountered: