Apmannen / MichaelKjellander

Upcoming michaelkjellander.se site. WORK IN PROGRESS. Built with Blazor (.NET/C#), using the Wordpress API to fetch all existing posts and pages from the old (current) site. Tailwind is used for styling.
https://new.michaelkjellander.se/
0 stars 0 forks source link

Smoother page transitions, especially mobile #40

Open Apmannen opened 5 months ago

Apmannen commented 5 months ago

When changing page, the dropdown menu is immediatly closed, but there's a delay before the new page is displayed.

In one way or another, the content should be hidden before the new page is loaded -- at the exact same time as the dropdown menu is closed. Probably at the client side then? For instance, use CSS visibility: hidden.

Also see: https://github.com/Apmannen/MichaelKjellander/issues/39

Apmannen commented 5 months ago

Can I prevent the mobile menu from closing before the new page is loaded?