Closed Bug 1809301 Opened 2 years ago Closed 2 years ago

`preventDefault` doesn't work for "contextmenu" events on anchor elements

Categories

(Fenix :: General, defect)

All
Android
defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1736391

People

(Reporter: csadilek, Unassigned)

Details

From github: https://github.com/mozilla-mobile/fenix/issues/14067.

Steps to reproduce

  1. visit page: https://codepen.io/icl7126/pen/gOrLNag
  2. use long press on the link on the first line

Expected behavior

Custom context menu should appear.

Actual behavior

There is a browser context menu above the custom context menu.

Device information

Not device specific.

  • Fenix version: 80.0.1-beta.2 (Build #2015758613)

┆Issue is synchronized with this Jira Task

Change performed by the Move to Bugzilla add-on.

The severity field is not set for this bug.
:cpeterson, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(cpeterson)

this was driving my crazy! here is my demo: https://codepen.io/eyaler/pen/wvYqgdE - broken on fenix 109

Flags: needinfo?(cpeterson)
Status: NEW → RESOLVED
Closed: 2 years ago
Duplicate of bug: 1736391
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.