You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In addition, for the pages that render inside the root's <Outlet />, I set the header and footer heights as CSS variables and determine that container's min-height like so: min-h-[calc(100vh-var(--header-height)-var(--footer-height))].
This ensures the minimum height of that container is your viewport's height - header height - footer height, ensuring your footer will always show correctly if the content is smaller than your viewport.
Just thought I would share an issue for anyone that might run into the same problem.
I am using the shadcn datatable and pagination.
In the root.tsx file, the parent div around the Outlet is using
h-screen
With the
h-screen
the Select component that is used in the datatable pagination doesnt work properly. When clicked, the page jumps to the top.Removing the
h-screen
fixed the issue for me.The text was updated successfully, but these errors were encountered: