Describe the bug
Problem:
Platform: iOS
When using the YouTubePlayer component with expo modal, upon fullscreen and landscape rotation creates a persistent white modal blocks bottom half portion of the screen.
The white modal is only triggered when the video is in fullscreen mode and the device is rotated to landscape
To Reproduce
Steps to reproduce the behavior:
Play a YouTube video using the YouTubePlayer component.
Switch the video to fullscreen mode.
Rotate the device to landscape orientation while in fullscreen mode.
Rotate back to portrait mode
Exit fullscreen mode.
A white modal appears, occupying a bottom half portion of the screen.
The modal is not dismissible, obstructing the view and disrupting user interaction.
Expected behavior
Exiting fullscreen mode should not trigger any additional modal.
The screen should return to the original state before fullscreen was activated, without any obstructions.
Describe the bug Problem: Platform: iOS When using the YouTubePlayer component with expo modal, upon fullscreen and landscape rotation creates a persistent white modal blocks bottom half portion of the screen.
The white modal is only triggered when the video is in fullscreen mode and the device is rotated to landscape
To Reproduce Steps to reproduce the behavior:
A white modal appears, occupying a bottom half portion of the screen. The modal is not dismissible, obstructing the view and disrupting user interaction.
Expected behavior Exiting fullscreen mode should not trigger any additional modal. The screen should return to the original state before fullscreen was activated, without any obstructions.
Screenshots
https://github.com/user-attachments/assets/ec9180e8-8623-4b58-8ee6-2d58b2538684
Smartphone (please complete the following information):
react-native-youtube-iframe
version 2.3.0react-native-webview
version 13.10.5Expo
verison 51.0.24Additional context The white modal is only triggered when the video is in fullscreen mode and the device is rotated to landscape