Hi,
I am using "primereact": "^5.0.2". In the Datatable I am using filter dropdown in the header. I can able to see list of options when I trigger. When I make the datatable as scrollable then the filter dropdown options are not visible (like z-index issue) How can I fix this issue?
Thanks.
Dropdown filter options are not visible in Scroll Datatable with filter
Here is the source code https://codesandbox.io/s/pensive-pascal-9p5gg
Preview https://9p5gg.csb.app/
Preview https://9p5gg.csb.app/
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
Please try appendTo={document.body} on components that have overlay panel. Exp; Dropdown, Calendar etc.
Best Regards,
Best Regards,
Github Profile: https://github.com/mertsincan
Yay, Its working. Thank you so much mertsincan.mert.sincan wrote: ↑26 Jan 2021, 17:50Please try appendTo={document.body} on components that have overlay panel. Exp; Dropdown, Calendar etc.
Best Regards,
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
You're welcome.
Happy coding!
Happy coding!
Github Profile: https://github.com/mertsincan
-
- Information
-
Who is online
Users browsing this forum: No registered users and 16 guests