rnc-archive / react-native-drawer-layout

A platform-agnostic drawer layout for react-native
256 stars 63 forks source link

Set opacity to 0 when fully hidden #50

Open brentvatne opened 6 years ago

brentvatne commented 6 years ago

If you try out the drawer example on https://snack.expo.io/rkhC9onuG you'll notice that when you go back from it you can see the drawer. This is because it's translated out of view but when we translate the container that it lives in, we can see it again. Setting its opacity to 0 would resolve this issue.