Open lizlux opened 9 years ago
Perhaps the bug lies in Polymer? It does a lot of weird stuff to accomplish what it does.
I'm also running into this issue. How did you manage to disable fastclick? I've tried adding a needsclick
to my select
element, but the drop-down still doesn't get opened.
Sorry it's been a long time since I worked on this, and I forget exactly what I did to disable fastclick. Wish I could be more helpful.
No worries, thanks anyway :)
@ccapndave not sure if it's still valid for you but here is how you can disable fastclick on element: https://github.com/ftlabs/fastclick#ignore-certain-elements-with-needsclick
I can add more steps to reproduce if you'd like, but for now I'll just report what I'm seeing.
I've created a polymer component which uses shadow dom. Clicking on an element inside the component opens a drop-down. With fast-click enabled on a mobile (or emulated) device the click/tap event doesn't fire, and the drop-down isn't opened.
I'm binding the event with the
on-click
attribute supported by polymer.Disabling FastClick on my custom element is the work-around.