FullWindowOverlay support style prop #3501
chiefchief
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Would it make sense to add a style prop to FullWindowOverlayProps?
On Android, FullWindowOverlay falls back to rendering a regular View, and passing a style prop works correctly at runtime (e.g. StyleSheet.absoluteFill).
However, since style is not part of FullWindowOverlayProps, TypeScript reports an error even though the styles are applied correctly. This makes cross-platform usage unnecessarily confusing.
Beta Was this translation helpful? Give feedback.
All reactions