Context Menu doesn't display on Numeric Entry Field components in Firefox

Hey Everyone,

We have some method scripts that run on a context menu that gets brought up when users right click on different numeric field values and labels in the project I’m currently working on.

This works fine and the context menu opens when users right click either component type in chrome or edge browsers, but if the user is in firefox, the label components will launch the context menu just fine, but the numeric entry fields do not bring up any sort of context menu and nothing is shown in the gateway logs as an error.

I was curious if this was a new bug, something that was being fixed in newer versions than 8.1, or if anyone else encountered it and there was some setting specific to firefox that needed changed.

Any information is appreciated.

Thanks!

Firefox in this case was at version 143.0.4

Another team member found a solution, though it might still be a bug. I’ll post what they did here for anyone finding this post later:

Using the info from here: Numeric Entry Field events
He added “pointer-events: none;” in our stylesheet.css which allowed the right click event to trigger on the numeric entry field component.

image