Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
fix(fs): make sure there's only one fullscreenchange event #5686
Before the fullscreen API was un-prefixed, we listened to triggered a
Instead, we should listen the event the browser supports and re-trigger
We also make sure that the handler gets calls when the document level
I tried this on a lot of different browsers and devices, including GC and FF from before and after the move to unprefixed. It worked everywhere, except on Android and desktop Firefox before unprefixed, where the event didn't fire. Note that depending on the Android device, that might be the latest release available.