-
Notifications
You must be signed in to change notification settings - Fork 42
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
open-, close- and togglePanel should *always* work #103
Comments
As a workaround you could do something like this in |
Ah, I have a workaround using forceNarrow, but didn't hook up it up a media query (so my workaround doesn't work on mobile). Thanks for the suggestion! |
I'm with liebrand about this. I need the close and open functions to work when im on a desktop layout and not respond only to the narrow mode. |
I would like close the drawer on desktop. 👍 Nice solution have Google Plus, check out the https://plus.google.com |
Take a look at my master branch, I made some modifications about toggle feature on desktop, tell me what you think. Demo is here. To summarize :
|
I tried to embed paper-drawer-pane in existing GWT application - no matter what I tried toggle is not working. I tried every method etc.. No JavaScript errors generated - just not working. How funny... |
Currently the open-, close- and togglePanel functions only work on mobile (eg narrow mode). I want to be able to open/close the drawer on desktop as well. In other words, I want to have my drawer behave the way that Google's Inbox drawer works as well.
The drawer should still default to closed on mobile (and the main page should still dim when the drawer is opened on mobile), but the decision to open/close/toggle based on the responsiveWidth currently is a bug IMHO
The text was updated successfully, but these errors were encountered: