EagerELK / ditty

Sinatra Based Web Application Framework
MIT License
8 stars 7 forks source link

Stop the flickering of nested menu items in the sidebar #2

Open jrgns opened 7 years ago

jrgns commented 7 years ago

Every time a page in ditty opens all of the nested menu items in the sidebar will show for a short while before being hidden.

Make this behaviour stop.

The layout uses metisMenu to do the nesting.

Aidurber commented 7 years ago

Would it just be a case of hiding the nested items initially with style="display: none;" then inverting the logic, so you're showing instead of hiding?

jrgns commented 7 years ago

I tried adding the collapse and the in classes, but to no great effect. I suspect there's a library specific fix for this, but I haven't had the time to find it.

d3caf commented 7 years ago

@jrgns I'll take this if @Aidurber doesn't want it.

jrgns commented 7 years ago

@Aidurber do you mind if @andrew-anguiano takes a stab?

Aidurber commented 7 years ago

Sorry, yes of course. Not had chance to get around to it.

On 3 Oct 2017 20:04, "Jrgns" notifications@github.com wrote:

@Aidurber https://github.com/aidurber do you mind if @andrew-anguiano https://github.com/andrew-anguiano takes a stab?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/EagerELK/ditty/issues/2#issuecomment-333945772, or mute the thread https://github.com/notifications/unsubscribe-auth/AFd3w0G05hSq9bXB-x_EeKqfWdk9PGtkks5sooUngaJpZM4Pp-xQ .

jrgns commented 7 years ago

@Aidurber Doesn't look like @andrew-anguiano is working on this. Would you like to give it a stab?