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

Standard button element not clickable in paper-header #91

Open
torsjonas opened this issue Mar 20, 2016 · 1 comment
Open

Standard button element not clickable in paper-header #91

torsjonas opened this issue Mar 20, 2016 · 1 comment

Comments

@torsjonas
Copy link

A button element is not clickable when placed directly inside an element having the paper-header class. However, wrapping the button in paper-material makes it clickable. Don't know if this behavior is a bug or a feature, but it was not what I was expecting.

Some partial code to clarify what I mean:

With the following html the button is not clickable:

 <paper-scroll-header-panel class="fit">
   <div class="paper-header">
     <button onclick="foo()">Foo</button>

With the following html the button is clickable:

 <paper-scroll-header-panel class="fit">
   <div class="paper-header">
     <paper-material>
       <button onclick="bar()">Bar</button>
     </paper-material>
@blasten
Copy link
Contributor

blasten commented Mar 21, 2016

The docs is missing that the class should have position: relative | absolute http://jsbin.com/sijedo/edit?html,output

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