Skip to content

[Android] PiP player has incorrect layout (in react-navigation native stack controller) #745

@JasperH8g

Description

@JasperH8g

When entering the PiP on Android, layout seems sluggish and turnes out to be incorrect. In the small mode the video is scaled too large (cropping off part of the video), in large mode it's too small (adding whitespace).

I'm using react-navigation and a native stack navigator. When using a non-native stack-navigator, layout has way better performance and is also correct, but that of course, is not what we want.

Tested on react-native-theoplayer@8.18.0 and react-native-theoplayer@10.9.0.

Image
Image

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinghelp wantedExtra attention is needed

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions