react-native-portal icon indicating copy to clipboard operation
react-native-portal copied to clipboard

Help: usage with react-native-video

Open aletorrado opened this issue 7 years ago • 1 comments

Hi, I've been trying to use this with react-native-video, to keep video playing while allowing it to be rendered anywhere. When using it this way, playback is restarted every time a different WhitePortal is used.

Is it possible to achieve a smooth playback transition between portals somehow?

Thanks!

aletorrado avatar Dec 01 '18 20:12 aletorrado

Pffft, I've been using my corporate GH account for wayy long time, didn't got this notification. I'm very sorry for the late response.

In short, current implement does not try to keep an instance of react component (regardless of it's a native one or not) at all. So any mount/unmount/moving actions will affect child components. If that's a pure representation of a centralized store it should not be an issue, but yeah, this won't suit your use-case. Sorry!

zenyr avatar Feb 05 '19 12:02 zenyr