Fork me on GitHub
#cljsrn
<
2017-02-13
>
vikeri03:02:01

@savelichalex I think modal just makes the screen slide up rather than come in from the right: https://reactnavigation.org/docs/navigators/stack#StackNavigatorConfig

vikeri03:02:10

And it only works for iOS

levitanong08:02:10

@vikeri Nowadays I like using navigationexperimental’s cardstack set to vertical.

savelichalex09:02:57

What you think about standart modal? https://facebook.github.io/react-native/docs/modal.html There is funny moment, they wrote that need to use Modal from a top-level Navigator, but react-navigation doesn't have this abstraction 😄

levitanong16:02:21

@savelichalex The standard modal is fine for iPhone sizes, but shit for iPad. The expected behavior for a modal is for the dark background to fade in while the modal itself sliding up. This is not present in the standard modal, the last time i checked.

savelichalex17:02:07

@levitanong thanks, didn't know that)

vikeri17:02:09

@levitanong @savelichalex We developed our own modal. It’s a little tricky to get the background clickable if you want to close the modal by clicking that. But otherwise it’s very easy to implement.