-
Notifications
You must be signed in to change notification settings - Fork 34
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
Anchor element children click target area. #21
Comments
I found a workaround on paper-menu issues. googlearchive/paper-menu#22 (comment) On the Stackoverflow post a user named sensor shows how to use 'on-tap' to detect tappings/clickings. So the following code would mitigate the pain a bit.
But honestly, this is ugly. And I can't understand why Polymer dev team doesn't include paper-item with a tags in any demos whatoever. Maybe they tried it and know it doesn't work so avoid using them together? idk. |
I ran into the same problem, this is really holding me back... |
@Miliooo I'd like to recommend you to look at Riot.JS + Material Design Lite. Though I think I still keep watching how Polymer evolves. |
In general this issue is big, any element within |
I have found this is due to the absolute position applied to the :before of paper-item that gives the focused/selected visual background. One way to solve this is to override the positioning using the mixin --paper-item-focused-before. A proper fix needs to be put into place though. |
+1 |
1 similar comment
+1 |
Why not just wrap the |
Similar discussion here: PolymerElements/paper-button#35 (comment). |
+1 |
Why is it, that all these paper item/button etc elements can't just receive a |
yup, would be great... |
Fixes #21: Adds an example of using paper-items as links.
If it helps anyone I am doing something like this to at least get the styling to work.
P.S. |
This issue is really annoying me. A menu with links is a fairly common use case and as such I hope this gets fixed soon. I'm just posting a link to the issue on the old repo so you guys are aware that it's still not fixed.
googlearchive/paper-item#14
The text was updated successfully, but these errors were encountered: