Skip to content
This repository was archived by the owner on Jul 29, 2022. It is now read-only.
This repository was archived by the owner on Jul 29, 2022. It is now read-only.

Add W3C Touch support for mobile browsers #3

@JamesMGreene

Description

@JamesMGreene

This library does not currently support the "touch" events necessary for it to work on mobile browsers.

Adding support for mobile browsers also introduces extra complexity as the whole text selection interface works much differently than that of a desktop browser: i.e. long tap to select a word, then drag the cursor ends to expand it to your desired selection range. It may not be possible to achieve the desired parity for mobile browsers as they probably don't fire additional events for that selection expansion activity (boo!).

Start with this touch detection technique leveraged from jQuery Mobile:

var touchSupported = $.support.touch || "ontouchend" in document;

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions