TL:DR - Is there a way to disable barcode scanner input in a primary view BEHIND a modal popup?
I'm working on a project where I have a barcode component within a view. This view is embedded in several different locations, including a primary page and a popup page.
The issue I'm facing is that when the popup is open, barcode scans are detected in both the primary view and the popup view, which leads to some unexpected behavior. Ideally, I want the barcode scanner in the primary view to be disabled or ignored when the popup is open.
Has anyone encountered a similar issue or have suggestions on how to manage barcode scans based on the visibility of the popup? Any scripting tips or best practices would be greatly appreciated!