Copy link to clipboard
Copied
Noticing some inconsistent behavior in a self-developed custom panel:
Sometimes click-and-drag will act as expected in an HTML context: Text elements are selected.
Other times the the same gesture will scroll the window, similer to finger gestures in an iOS UI: click-and-drag to scroll -- which is not standard behavior in a desktop HTML context.
The inconsistent behavior plays out in the same panel in the same state, the only difference seems to be the luck of of the launch. In other words, launch the panel once and you might get click-and-drag-to-select.
Re-launch and you might get the another time click-and-drag-to-scroll.
What might account for that? Is there a panel setting or feature that relates to this?
Followup question solved as well: In Chrome inspector there'a a button "Toggle Screencast".
On means no UI interactivity, but you get a thumbnail simulcast of your screen that highlights element mouseovers. So far I haven't experienced an enormous amount of excitement from that little feature, and in event...
With that setting off the UI interactivity returns.
Full Solved!
Copy link to clipboard
Copied
> What might account for that?
No idea. 🙂 Can you reliably repro the behavior? 'Sometimes' is hard to chase down...
Copy link to clipboard
Copied
> Can you reliably repro the behavior? 'Sometimes' is hard to chase down...
It's a reliably re-creatable behavior to the extent that I'll experience both "modes" multiple times in a session, as long as I reset the the panel or re-launch Premiere a number of times.
Copy link to clipboard
Copied
Ok, 100% reliably re-creatable: It has to do with inspecting the page from Chrome.
In the past we were able to do that in Chrome at http://localhost:[Port]
Where Port is set in the panel's .debug file
For me that approach no longer works.
I'm using a newer method: chrome://inspect/#devices
When the inspector for panel is up and running it bocks interactivity with the sight because... who knows.
If you close the inspector, standard interactivity returns.
Problem solved!
Followup question... Is there a setting in Chrome that might be the have-your-cake-and-eat-it-too solution, where you can leave the inspector open without affecting the UI?
Copy link to clipboard
Copied
Followup question solved as well: In Chrome inspector there'a a button "Toggle Screencast".
On means no UI interactivity, but you get a thumbnail simulcast of your screen that highlights element mouseovers. So far I haven't experienced an enormous amount of excitement from that little feature, and in event...
With that setting off the UI interactivity returns.
Full Solved!