Replies: 5 comments
-
Hey @basdp - There currently isn't a way to do this. Do you want me to change this to a feature request to track on our backlog? |
Beta Was this translation helpful? Give feedback.
-
Hey @champnic, thanks for reaching out. Would be cool if we can change this to a feature request! I don't know if this is a feature a lot of people are waiting for, but the pointer lock message is at least in Electron explicitly hidden. For games and entertainment type apps, this is a very welcome feature! |
Beta Was this translation helpful? Give feedback.
-
Done - added as a feature request. Do you know if Electron has this behavior by default? Or is there an API for that? |
Beta Was this translation helpful? Give feedback.
-
firefox at least has a timeout that can be customized (pointer-lock-api.warning.timeout). (someone asking how to implement it on electron, I haven't verified but I guess electron won't show those messages). This is an important feature for us since this "Press ESC" message overlays important UI controls in our application and is not really needed for a desktop application. A setting to disable it would be nice, we don't need an API to control the dialog (if we need it we will implement it using our own UI). |
Beta Was this translation helpful? Give feedback.
-
This is still something that is requested! For reference this is not something Electron has in any capacity, and it's a blocker to making things like games using WebView. |
Beta Was this translation helpful? Give feedback.
-
I have an app that I want to use pointerlock with (to hide the mouse while 'turning' a knob, like in audio applications). the PointerLock API works perfectly, although it shows a banner overlay to 'Press ESC to show your cursor'. Is it possible to hide that overlay in WebView2?
Beta Was this translation helpful? Give feedback.
All reactions