Skip to content
This repository has been archived by the owner on Jun 9, 2022. It is now read-only.
This repository has been archived by the owner on Jun 9, 2022. It is now read-only.

Fastclick makes elements inside shadow dom are unclickedable on IOS devices #604

Open
@Mangor1no

Description

As the title said, I bumped into this situation when I was working with the ShadowDom. I built a box which contained some links, then loaded it into my websites, one for desktop users and one for mobile users. After some tests, I realized that links inside my box are unclickedable in mobile page on IOS devices. I did several researches on google, some debugging, and found out my coworker implement this library into this one.

I created a small example to reproduce the bug, and also the temporally solution for this situation.
FiddleJS: https://jsfiddle.net/mangorino/eo0pmLsk/14/
FiddleJS show: https://jsfiddle.net/mangorino/eo0pmLsk/14/show

Although the bug can be manually fixed by adding a class into shadowhost div, I still consider this as an issue. Please check and fix it in your next version.

Hope my solution can help people out there!

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions