Closed Bug 1085378 Opened 10 years ago Closed 10 years ago

Vertical movement after a preventDefault'd contextmenu event still causes scrolling

Categories

(Testing Graveyard :: JSMarionette, defect)

All
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: cwiiis, Unassigned)

References

Details

(Whiteboard: [affects=gaia])

If you use the Actions object to long-press an icon on the home-screen, then perform any vertical movement before releasing, that vertical movement will scroll the screen. As the contextmenu event is prevent-default'd, this is incorrect behaviour (and indeed, doesn't cause movement on an actual device). This is causing the marionette test on this branch to fail: https://github.com/Cwiiis/gaia/tree/bug1084290-drag-item-to-collapsed-group (note, the test may still fail after fixing this bug as I've not accounted for icons not being visible, but at the moment, it's failing because of this bug)
This happened on b2g-desktop (Linux)
Whiteboard: [affects=gaia]
So zac took a look at this with me and the issue isn't what I thought (as convincing as it looked) - it's that tapping on an element that's partially in view can end up not tapping on that element. I can work around this, closing this bug - sorry for any wasted time!
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → INVALID
Product: Testing → Testing Graveyard
You need to log in before you can comment on or make changes to this bug.