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

refactor: some adjustments to safe area styling

Open dannyhw opened this issue 1 year ago • 1 comments

Issue:

What I did

as a follow up to #345 I've added some changes to make the no safe area settings only apply to the preview and to make it so the navigation bar doesn't float.

This works by having the safe area insets for the navigation bar when the ui is visible but when you hide the ui then the full screen can be used

How to test

run the example app and open the outside safe area story

With UI hidden:

image

With UI Visible

image

dannyhw avatar Jul 15 '22 20:07 dannyhw

heres a few small iterations on your changes @pvinis what do you think?

dannyhw avatar Jul 15 '22 21:07 dannyhw