halfmoon
halfmoon copied to clipboard
Sidebar flashes on mobile
When you navigate from page to page, the sidebar flashes and goes away in mobile view.
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.
Any updates on this? how would one implement a fix for this themselves?