mirror of
https://github.com/suitenumerique/meet.git
synced 2026-08-16 13:38:35 +00:00
46a4955fe0
`isMobileBrowser()` only reads `navigator.userAgent`, which does not change during the lifetime of the document, so the previous `resize` listener never had anything meaningful to update. It did, however, dispatch `setIsMobile` on components rendered into a Document Picture-in-Picture window (e.g. the reactions toolbar). When the PiP window had already been closed, Firefox threw "can't access dead object". Compute the value once and skip the listener entirely. Fix 019cb315-d827-73f2-b1cc-74e4dd71e982