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

Offsetting core drawer panel #25

Closed
tjsavage opened this issue May 22, 2015 · 2 comments
Closed

Offsetting core drawer panel #25

tjsavage opened this issue May 22, 2015 · 2 comments

Comments

@tjsavage
Copy link
Contributor

I would like to know if we can offset the core drawer panel when the toggle button is clicked so that the drawer scrolls after the toggle button but still the toggle button should be active to be clicked on again to hide the drawer panel.
Also is it possible to make the core drawer panel scroll from bottom, say an options bar that when toggled will scroll up from bottom.

Thanks

@blasten
Copy link
Contributor

blasten commented May 27, 2015

@VigneshVaidyanathan we have plans to support this in the future. For know, you could add a hide button to the drawer.

@blasten
Copy link
Contributor

blasten commented Jul 22, 2015

You can use a paper-toolbar and add a toggle button to it:

<paper-drawer-panel>
  <paper-header-panel drawer>
    <paper-toolbar>Menu</paper-toolbar>
  </paper-header-panel>
  <paper-header-panel main>
    <paper-toolbar>
      <paper-icon-button icon="menu" paper-drawer-toggle></paper-icon-button>
      <div class="title">My App</div>
    </paper-toolbar>
  </paper-header-panel>
</paper-drawer-panel>

@blasten blasten closed this as completed Jul 22, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants