Skip to content

Add the hovering effect to mobile devices #1

@fgfrutos

Description

@fgfrutos

For personal reasons, I'm very interested in make this project responsive to mobile devices. I have though about use touchstart and touchmove to emulate the hovering effect with fingers. The problem is that it seems that touchmove only modify the element that was touched in the first place (if you try to get the element touched using e.target the element that you get is the first element touched).

To overcome that problem it seems to be possible to select the element currently touched using document.elementFromPoint(x, y), where x and y are the coordinates from the client's point of view. I have found this possible implementation here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions