Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Root layouts refactor #5999

Merged
merged 2 commits into from
Mar 4, 2020
Merged

Root layouts refactor #5999

merged 2 commits into from
Mar 4, 2020

Conversation

guyca
Copy link
Collaborator

@guyca guyca commented Mar 4, 2020

This commit improves support for react-native-youtube library. This library uses the native Youtube player which requires that no visible views will be laid out on top of the player. This commit set visibility of Modal and Overlay containers to GONE when they are empty.

This commit improves support for react-native-youtube library. This library uses the native Youtube player which requires that no visible views will be laid out on top of the player. This commit set visibility of Modal and Overlay containers to GONE when they are empty.
@guyca guyca requested a review from yogevbd March 4, 2020 15:27
@yogevbd yogevbd merged commit 2793a02 into master Mar 4, 2020
@yogevbd yogevbd deleted the rootLayoutsRefactor branch March 4, 2020 16:26
@habovh
Copy link
Contributor

habovh commented Mar 12, 2020

@guyca @yogevbd It seems there still is an issue with RN-youtube and RNN.
Using a simple setup (one component root, no overlay, no extra HOCs, just directly registered component holding a single View and Youtube node from react-native-youtube) I'm still having the unauthorised overlay.
I'm more than happy to help debug this however I do not have much native Android knowledge.

RNN: 6.2
react-native-youtube: 2.0
react-native: 0.61.4

stachu2k pushed a commit to stachu2k/react-native-navigation that referenced this pull request Apr 8, 2020
* Hide modal and overlay containers

This commit improves support for react-native-youtube library. This library uses the native Youtube player which requires that no visible views will be laid out on top of the player. This commit set visibility of Modal and Overlay containers to GONE when they are empty.

* fix tests
stachu2k pushed a commit to stachu2k/react-native-navigation that referenced this pull request Apr 8, 2020
stachu2k pushed a commit to stachu2k/react-native-navigation that referenced this pull request Apr 8, 2020
guyca added a commit that referenced this pull request May 18, 2020
Support for the react-native-youtube package was added in #5999 but due to a faulty merge it wasn't complete.

Fixes #6214
guyca added a commit that referenced this pull request May 18, 2020
Support for the react-native-youtube package was added in #5999 but due to a faulty merge it wasn't complete.

Fixes #6214
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants