For more context: https://github.com/react-navigation/react-navigation/issues/726