Closed (fixed)
Project:
Drupal core
Version:
7.x-dev
Component:
contextual.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Nov 2010 at 19:38 UTC
Updated:
30 Nov 2010 at 18:50 UTC
Jump to comment: Most recent file
Comments
Comment #1
jgottwig commentedI can actually duplicate this on all desktop browsers I've tested as well, but it disappears as soon as I move the mouse off the link (so I'm guessing this is a mouse-based vs. finger-based interface issue). Does it remain visible after you tap elsewhere on the overlay?
Comment #2
mo6It remains visible when clicking elsewhere on the overlay. The menu can be closed by clicking on the down array from the contextual menu, though. After closing the contextual menu wheel and array stay visible, obscuring content from the overlay.
Comment #3
mark trappTagging.
Comment #4
tim.plunkettThe bug is in contextual.js, not Bartik. The contextual links currently only disappear when the mouse leaves the region, which isn't compatible with the way iOS implements gestures. However, it is also a "bug" in regular browsers, because the links won't disappear until the mouse leaves.
The fix is to bind the mouseleave code to both mouseleave and click.
At least 50% credit goes to canarymason!
Comment #5
jensimmons commentedsub
Comment #6
mark trappWorks as advertised. Checked with an iPad using iPhone OS 3.2 and iOS 4.2 as well as an iPhone using iPhone OS 3.1.3 and iOS 4.2. Also fixes the behavior in Safari 3-5, FIrefox 1.5-3.6, and Opera 9.27-10.63.
Comment #7
mo6I can confirm that the patch works as advertised, both on iPad and iPhone running iOS 4.2.
Comment #8
dries commentedCommitted to CVS HEAD. Thanks.