Is there a way for keyboard shortcuts to work in plugin window with en

Example:

i’m switching between my View presets.

When i get to plugin window, hotkeys stop working.

The problem with external view,

when i click out of it, hotkeys working again.

Is there any way to do this right?