Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keep Open in Desktop Layout but toggle in Mobile Layout? #373

Open
kevintraver opened this issue Jul 19, 2022 · 1 comment
Open

Keep Open in Desktop Layout but toggle in Mobile Layout? #373

kevintraver opened this issue Jul 19, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@kevintraver
Copy link

Is there a way to keep the menu visible and locked in desktop layout, but then toggle in mobile layout?

@nickschot
Copy link
Owner

You have some control using the isOpen argument which you could combine with some responsive logic in a getter to open it by default on desktop. Locking the menu is currently missing. This would be a nice addition in combination with adding an example to the documentation showcasing how to do this.

Some inspiration can also be taken from empress-blog-hummingbird-template where I customized it to show a different menu on desktop using ember-responsive. See: https://github.com/nickschot/empress-blog-hummingbird-template/blob/master/app/templates/application.hbs

@nickschot nickschot added the enhancement New feature or request label Jul 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants