Skip to content

Uncomment updateMenuVisibility in index after making menu-toggle anim. work on first load #56

@marcus-grant

Description

@marcus-grant

The sidebar should default to being visible when a single preview card or max article width plus the sidebar width can fit.
But, right now when the MenuToggle component first loads it loads after everything else and thus tries to animate itself and it looks strange when it happens on the first load. Figure out how to make this work correctly and then uncomment updateMenuVisibility in src/layouts/index.js to return the page width default for an open menu.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions