[facebook] Long-pressing the Like (reaction) button opens context menu
Bug #1600455 reported by
Anupam
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:/
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 |
To post a comment you must log in.
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,