U4-3420 - Firefox v25.0 - Right click context menu doesn't work

Created by Stefan Kip 06 Nov 2013, 09:09:56 Updated by Matthew 15 Dec 2016, 16:47:29

Is duplicated by: U4-3388

Is duplicated by: U4-3823

Is duplicated by: U4-4226

Is duplicated by: U4-5729

Is duplicated by: U4-6020

Is duplicated by: U4-6328

When I use Firefox v25.0 with Umbraco v7 RC, the context menu won't show when I right click on a Node. In Chrome it's working fine.

When I right click on a node, the right panel with the three tabs (Get Started, Last Edits & Change Password) just reloads.

2 Attachments


Sebastiaan Janssen 18 Nov 2013, 18:34:40

Can't repro in the latest nightly, considering it fixed.

Stefan Kip 19 Nov 2013, 11:18:32

I can... Firefox v25.0.1 and umbraco v7 nightly 167.

Stefan Kip 19 Nov 2013, 11:22:33


Per Ploug 19 Nov 2013, 11:55:16

Yeah, I can repro this as well, and there is nothing we can do about it.

Firefox bypasses all our attempts to encapsulate the click. So even tho we preventDefault, stop propagation, it still ends up as a left-click on the link - which is really bizzarre considering its a right-click.

You can right-click the list item outside the link, and it will work just fine, but clicking on the link, will trigger the link href and thereby route changes, which is what causes the dashboard to show.

Tweaked it a bit yesterday, so the context menu will show, and will work, but it will still reload the dashboard, which is currently the best solution we have :/

Sebastiaan Janssen 19 Nov 2013, 13:04:02

Interesting.. I don't have this problem at all. Not on yesterday's build and not on build 167.. Any plugins installed? Also v25.0.1. My addons are in the attached screenshot.

Bjarne Fyrstenborg 21 Nov 2013, 15:08:52

I see this issue too in Firefox v. 25.0.1 with Umbraco 7 release from today. But it only seems to reload the right placeholder, when you right click the node text/link. If I right click on the node icon or on the whitespace on the node, the context menu opens.

Martin Amsinck Andersen 04 Mar 2014, 16:23:56

Same problem

Firefox 27.0.1 Clean Umbraco 7.0.4 install No Plugins Chrome OK.

only thing that comes up is this "Brug af getPreventDefault() er forældet. Brug i stedet defaultPrevented" DependencyHandler.axd

Arjan Woldring 07 May 2014, 17:24:27

I have the same issue in FF version 29.0. I have a custom Dashboard and Custom MembershipProvider. The reason why I mention this is because every right click fires two get-requests. Don't know if this is somehow related but in chrome I don't see those calls at all in the console.

Arjan Woldring 07 May 2014, 18:24:42

Added a screenshot.

Rik Helsen 13 May 2014, 07:28:15

I can confirm the same issue, rightclickking triggers some kind of "back" behaviour. It's different if I do it on the actual letters of a navigation item (back behaviour) or whitespace - sometimes i get a context menu.

FF 29.0.1 on Umbraco 7.0.4

Peter Gregory 14 Jul 2014, 03:26:21

7.1.4 it will show if you right click outside of the text of the node.

Stefan Kip 22 Aug 2014, 15:03:16

Still the same issue with 7.1.5 and ff 31.0

Shannon Deminick 23 Oct 2014, 02:56:14

Pretty sure this is fixed in either the latest firefox or 7.2 because i can no longer replicate this in 7.2 My FF version is: 32.0.3

Sebastiaan Janssen 23 Oct 2014, 07:32:30

Hurray! I can confirm on 7.1.5, seems fixed in Firefox 32! And it just updated to 33 and it still works like it should.

Stefan Kip 23 Oct 2014, 07:55:49


Funka! 05 Nov 2014, 06:07:48

It's not the latest version of Firefox that fixes this. Still experiencing right-click issue on latest official Firefox 33.0.2 on latest official Umbraco 7.1.8. Soooo, must be something we'll see fixed when 7.2 is final?

Sebastiaan Janssen 05 Nov 2014, 07:15:42

I still can't repro it on 7.1.6. So.. no. See videos in U4-5729.. I can't make it do anything other than what it's supposed to do (ie. it does NOT go to content)

Sebastiaan Janssen 05 Nov 2014, 07:16:34

Ah.. well never mind, right-clicking on a node takes me straight to content. Sheesh.

Rik Helsen 17 Nov 2014, 12:49:08


Tom Steer 06 Feb 2015, 14:37:43

Any news on this?

Alessandro Curti 27 Feb 2015, 14:05:00

Not happening anymore on Windows Firefox 36.0 here

Sebastiaan Janssen 27 Feb 2015, 14:10:50

It works much better on FF36, but right clicking on the three dots still takes you back to the content section

Shannon Deminick 10 Mar 2015, 00:26:14

The issue is that FF doesn't like to emit the contextmenu event for 'a' html nodes, all other nodes work fine. For example if you right click between the test and the three dots, it will show the context menu, but since the 3 dots and the text are 'a', it doesn't work. I'm trying to figure out how to force this to work in FF.

Shannon Deminick 10 Mar 2015, 02:06:46

This is finally fixed in rev: d2083673bed532e4241145988fa323d9bf6d35b9

Here's the problem for those who care:

  • Angular says that having an 'a' tag with an empty href or href='' is acceptable and you will get the standard anchor styling. This has worked everywhere in our app, however Firefox treats anchor's differently when it comes to context menus. Even if you preventDefault, stopPropagation, etc... FF will still perform the anchor's navigation. However, if we simply remove the href attributes (since we already have the correct anchor styling in our css), the problem goes away - So the lesson learnt is that if you are doing any contextmenu stuff on 'a' tags, ensure you don't have any href attribute because FF has issues with it.

The alternative approach which I did before figuring out it was just the empty href problem is to bind on mouseup or mousedown and remove the binding for click. Then you can determine which mouse button was pressed and act accordingly.... but this was far more code than should be necessary.

Stefan Kip 21 Apr 2016, 09:32:52

So I'm using umbraco 7.4.1 and since 7.4 I have to double-right-click to get the context menu in Firefox (45.0.2). If I right-click a not-already-selected node, it just counts as a left-click and opens the node.

Priority: Normal

Type: Bug

State: Fixed

Assignee: Shannon Deminick

Difficulty: Normal

Category: UI

Backwards Compatible: True

Fix Submitted:

Affected versions: 7.0.0, 7.0.4, 7.2.0, 7.2.1, 7.2.2, 7.5.4

Due in version: 7.2.3


Story Points: