Timeline item view on touch devices: can't tap to navigate #2938

Open
opened 2016-07-08 05:19:21 +00:00 by rlx · 3 comments
Owner
No description provided.
rlx added the
frontend
label 2016-07-08 05:19:21 +00:00
rlx added this to the 14.04 milestone 2016-07-08 05:19:21 +00:00
0x2620 was assigned by rlx 2016-07-08 05:19:21 +00:00
rlx added the
normal
defect
labels 2016-07-08 05:19:21 +00:00
rlx changed title from Timeline item view: can't tap to navigate to Timeline item view on touch devices: can't tap to navigate 2016-07-08 05:19:46 +00:00
Owner

this works on android but is broken on ios

this works on android but is broken on ios
Owner

also affects timeline navigation on editor/player view

also affects timeline navigation on editor/player view
Owner

problem should be

    function getPosition(e) {
        // FIXME: this might still be broken in opera according to
        // http://acko.net/blog/mouse-handling-and-absolute-positions-in-javascript
        return e.offsetX ? e.offsetX
            : e.clientX - $(e.target).offset().left;
    }

and other places that uses e.offsetX

problem should be ``` function getPosition(e) { // FIXME: this might still be broken in opera according to // http://acko.net/blog/mouse-handling-and-absolute-positions-in-javascript return e.offsetX ? e.offsetX : e.clientX - $(e.target).offset().left; } ``` and other places that uses e.offsetX
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: 0x2620/pandora#2938
No description provided.