halfmoon icon indicating copy to clipboard operation
halfmoon copied to clipboard

Sidebar flashes on mobile

Open roelgeusens opened this issue 5 years ago • 2 comments

When you navigate from page to page, the sidebar flashes and goes away in mobile view.

roelgeusens avatar Aug 27 '20 13:08 roelgeusens

This is a known issue. What happens is that JS is used to hide the sidebar on phones. This has to wait for the DOM to load, which is why you see the flash. There is a possible solution for this using CSS, and I have been thinking about it for quite some time. However, its a pretty complex issue, because you need to write two different sets of rules (one for phones, and one for desktops) for 5 different types of sidebars. I will mark this.

halfmoonui avatar Aug 27 '20 14:08 halfmoonui

Any updates on this? how would one implement a fix for this themselves?

camp-d avatar Mar 02 '22 17:03 camp-d