Skip to content

Standard button element not clickable in paper-header #91

@torsjonas

Description

@torsjonas

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>

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions