Recently, we've encountered an issue with NumericEntryField components in our Perspective project when using Google Chrome and Microsoft Edge browsers. This issue has emerged in the past few weeks and affects the behavior of the "onClick" event handler associated with these components.
Expected Behavior (Previously): When
self.props.enablewas set to
false, the "onClick" event handler would reliably invoke when a user clicked on the NumericEntryField component.
Current Behavior: However, in recent weeks, when
self.props.enableis set to
false, the "onClick" event handler no longer triggers as expected when clicking on the NumericEntryField. Strangely, the "onDoubleClick" event handler works as intended.
This behavior issue is specific to Chrome and Edge browsers. Ignition Workstation and the iOS Perspective app, do not exhibit this problem.
The reason we need to set
falsefor some containers is to achieve a consistent visual presentation for displaying numerical tags, matching the appearance of setpoint or data entry containers.
The "onClick" event handler is crucial for our workflow as it's used to create trend pop-ups for numerical values on the screen.
We are seeking assistance in resolving this issue or finding a workaround to ensure that the "onClick" event handler works reliably in Chrome and Edge browsers while still allowing us to maintain the desired visual presentation for NumericEntryField components.
-- openAI did help me write this description to best format my question. I've spent countless hours trying to resolve the issue before bothering anyone else just to make sure I wasn't at fault.