-
Notifications
You must be signed in to change notification settings - Fork 405
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
Filter dropdown on the table #724
Comments
I have a similar question. Is it possible to use the filter outside the table? Such as the search externalQuery input, where it is already possible to do this. |
@Kraysh @bebetoalves When popping out a div to simulate a dropdown, there are tradeoffs for how to position it, particularly when inside of a scrollable parent element. You can either
none of these are great options. But I have mixed news for you! The library that was making this decision for you is Vue-Select. It is a 3rd party library that increased Vue-Good-Table's dist size by ~15%, and limited our user's choice. In the latest release of Vue-Good-Table (v2.21.0), we've removed this feature and replaced it with a custom slot. Bad News! You will need to update your code if relying on Good News! You can now pick any multi-select library you want to handle this. Or even your own custom component. There are docs for migrating to the new feature and maintaining usage of Vue-Select if you want to keep it. Closing this issue. |
Using appendToBody in v-select has been resolved. |
When the filter has more options than the table rows, the table gets overflow, instead of the dropdown being on top of the table.
Is it possible to keep the filter dropdown on top of the table?
Which CSS do I need to use?
JSFiddle: https://jsfiddle.net/y6bskvmw/
The text was updated successfully, but these errors were encountered: