React Native doesn't support reverse flex direction rules such as row-reverse
and column-reverse
. Moreover, it is specifically oneOf([ 'row', 'column' ])
, despite what is stated in MDN docs.
My first thought was it hard to implement in native environment, but I found that one can mimic reverse behaviour simply by using justifyContent: 'center'
. (https://rnplay.org/apps/o5Gr3Q)
My question is, is there any explanation why these rules don't supported by React Native or it is a bug?