Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(ui): Fix exception on screen rotation if fullscreen is not suppor…
…ted (#4669) If fullscreen is not supported when enableFullscreenOnRotation option is enabled, this exception occurred: TypeError: i.j.requestFullscreen is not a function. (In 'i.j.requestFullscreen({navigationUI:"hide"})', 'i.j.requestFullscreen' is undefined) This fixes the exception by checking isFullScreenSupported(). Backported to v3.2.x Co-authored-by: Joey Parrish <joeyparrish@users.noreply.github.com>
- Loading branch information