[facebook] Long-pressing the Like (reaction) button opens context menu

Bug #1600455 reported by Anupam
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Oxide
New
Undecided
Alexandre Abreu
The Webapps-core project
Confirmed
Medium
Alexandre Abreu
webapps-sprint
New
Undecided
Unassigned

Bug Description

Steps to reproduce:
Long press on the Like (thumb up) button below a post

Expected:
All the "reactions" (happy, sad, angry etc.) appear so that you can choose one

Happens:
*Sometimes* a context menu pops up with open link, save link, copy link, cancel etc. options
https://launchpadlibrarian.net/271941105/screenshot20160709_170000813.png

Anupam (anupam207)
description: updated
summary: - [facebook] Long-pressing on the Like (reaction) button opens context
- menu
+ [facebook] Long-pressing the Like (reaction) button opens context menu
Changed in webapps-core:
status: New → Confirmed
Revision history for this message
Alexandre Abreu (abreu-alexandre) wrote :

I investigated a bit,

The menu context menu obviously appears as a result of Oxide informing us that we have a long press on an <a> tag underneath. In that case the menu popups when the linkUrl reported by Oxide is non null.

The issue is that the <a> tag "hosted" by the "Like" div being pressed has an empty linkUrl. But as we keep the press the DOM changes to display the "reaction" icons, and the DOM gets updated accordingly. AS it happens, it seems that the press action is somewhat evaluated again and a new link to the FB "story" has been added to the DOM, the context menu is requested again with a non empty linkUrl this time which makes the context menu popup.

This behavior does not happen on Android in the same context (and with a similar UA),

Adding oxide to the list to investigate more,

Changed in webapps-core:
assignee: nobody → Alexandre Abreu (abreu-alexandre)
Changed in oxide:
assignee: nobody → Alexandre Abreu (abreu-alexandre)
Changed in webapps-core:
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.