You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How do I reconcile the browser's keyboard shortcuts with the PWA app's shortcuts, since I press many of them just to trigger the browser's functionality
Can the shortcut keys of the PWA application and the browser not conflict? This is a question I am thinking about. Customizing the shortcut keys of the PWA application does not affect the shortcut keys of the browser being used.
The text was updated successfully, but these errors were encountered:
Excellent question! That's definitely an area where desktop-installed PWA could be better.
As a developer, you can probably easily listen to a lot of shortcuts using JavaScript code, and prevent the default behavior from happening, or replace it with your actions.
But it seems like PWAs should be given the ability to do this in a better way. Similar to how the manifest display member lets you choose how much of the browser chrome you want to see, there could be a keyboard-shortcut member that lets you choose how much of the default browser shortcuts you want enabled.
For example, pressing ctrl+N in a PWA opens a new browser window, and that's pretty confusing I think.
Now, if you're building a PWA that deals with creating files, then you could re-map this to your own action. But if you're not, letting this shortcut open a new window feels confusing to me.
Once a PWA is installed, I don't think of it as being a browser window. I think of it as being an app.
Sorry for now answering your question. I think this is a nice discussion to have. And I'm not aware of any proposals that have been made in this area yet.
How do I reconcile the browser's keyboard shortcuts with the PWA app's shortcuts, since I press many of them just to trigger the browser's functionality
Can the shortcut keys of the PWA application and the browser not conflict? This is a question I am thinking about. Customizing the shortcut keys of the PWA application does not affect the shortcut keys of the browser being used.
The text was updated successfully, but these errors were encountered: