The topic title pretty much says it all. Whenever I click on a UXP panel button, I can no longer use keyboard shortcuts to choose a Photoshop tool or adjust brush size with the bracket keys. After using Photoshop without clicking on a UXP panel, these keyboard shortcuts return. It is incredibly frustrating.
ExtendScript had ‘app.bringToFront()’ function as a way to restore focus to the app to prevent this from happening.
Is there something similar in UXP that works?
const app = require('photoshop').app; await app.bringToFront();
But that doesn’t restore the keyboard shortcuts.
NOTE: Not all keyboard shortcuts are inactivated by UXP panels. CTRL+K still works to open the Preferences, and once I do that, all the tool and brush size keyboard shortcuts are restored.
This seems like a major shortcoming of UXP panels. It makes it look like Photoshop doesn’t work right or is all of a sudden buggy.