jeremybarbet / react-native-portalize

The simplest way to render anything on top of the rest.
MIT License
335 stars 22 forks source link

Context doesn't work inside Portal #23

Open eseQ opened 2 years ago

eseQ commented 2 years ago

Hello.

I create codesandbox example about the bug. Check it first.

Expected behavior: Component inside <Portal> has access to parent Context (inside <Host> not outside context).

Current behavior: Component can has access only if <Host> wrapped by Context but always Context exist inside nested components only

lukerlv commented 1 month ago

Is there any solution available?