Page MenuHomePhabricator

VisualEditor Mobile: Second tap on a reference navigates away from (closes) VE on iOS Safari
Closed, ResolvedPublic

Description

Author: jgonera

Description:
As mentioned in bug 66999 references require two taps on iOS Safari. Often, the first tap results in a lighter "semi-selection" appearing a bit below the actual reference. When that happens, second tap on the reference suddenly closes the editor (first video).

The editor doesn't crash though, somehow cancel action is triggered. If you have unsaved changes, you'll see a dialog asking you if you want to abandon the edit (second video).

Tested and recorder in iOS Safari 7.1.1. Does not happen on Chrome for Android.


Version: unspecified
Severity: normal
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=66999
https://bugzilla.wikimedia.org/show_bug.cgi?id=65326

Details

Reference
bz67002

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 3:33 AM
bzimport set Reference to bz67002.

jgonera wrote:

Editor closes

Attached:

jgonera wrote:

Editor shows confirmation dialog

Attached:

Pushing to Ed because it appears to be a shield/highlight issue.

Probably (?) fixed by the fix to bug 67063.

This bug did not get fixed by :

Use getClientRects()[0] instead of getBoundingClientRect()

https://gerrit.wikimedia.org/r/142260

For images, second tap on it opens up the image which might also be the effect of this same bug.

Ok, the behavior got slightly changed here, it wont close the VE now if your second tap on the same reference follows right after your first tap

To reproduce it now you need to first tap on a reference say [1], then tap on another reference [2], then go back and tap [1].Now it will close the VE .

This seems to got fixed by:

Select highlights on touchend event

https://gerrit.wikimedia.org/r/142839

Verified the fix in production