Closed Ssoon-m closed 1 month ago
The combination of overflow-hidden on the parent container and overflow-y-auto, overflow-x-hidden on the child container affects scroll restoration.
Page navigation when clicking list items is for demonstration only and not included in the commit.
https://github.com/TailAdmin/free-nextjs-admin-dashboard/assets/89559826/0fc9069c-f870-4a79-8394-247dda915738
https://github.com/TailAdmin/free-nextjs-admin-dashboard/assets/89559826/1b86f185-4c73-46af-8492-1de862da4fbc
The combination of overflow-hidden on the parent container and overflow-y-auto, overflow-x-hidden on the child container affects scroll restoration.
BEFORE
https://github.com/TailAdmin/free-nextjs-admin-dashboard/assets/89559826/0fc9069c-f870-4a79-8394-247dda915738
AFTER
https://github.com/TailAdmin/free-nextjs-admin-dashboard/assets/89559826/1b86f185-4c73-46af-8492-1de862da4fbc