micser / musicco

musicco is a web player for your music library Host it on a NAS and start streaming your music from any browser.
https://www.musicco.app
6 stars 1 forks source link

Improve pwa fullscreen mode in android 11 #207

Closed micser closed 3 years ago

micser commented 3 years ago

Every fist touch event in fullscreen mode displays the status bar, and a second touch event is required to actually click on something. Additionally, elements under the status bar are not reachable (ham menu, logout button), making the player useless.

Best alternative: use standalone with an appropriate theme color? Adjust landscape view to lose less space?

See https://stackoverflow.com/questions/68856575/android-os-nav-and-status-bars-toggling-in-and-out-on-fullscreen-pwa for a similar problem and https://web.dev/add-manifest/ for reference.

micser commented 3 years ago

Cool, this is just a chrome bug: https://bugs.chromium.org/p/chromium/issues/detail?id=1232956 In the meantime, keep standalone and add a fullscreen toggle: https://developer.mozilla.org/en-US/docs/Web/API/Fullscreen_API#toggling_full-screen_mode