React-native-paper: ProgressBar indeterminate prop not working

Created on 22 Jun 2019  路  2Comments  路  Source: callstack/react-native-paper

Environment

  • react-native: 0.59.9
  • react-native-paper: 2.16.0

Description

When we pass indeterminate prop to progress bar in react native paper we expect something like this:
ezgif-4-5fb9a37944c1

But nothing is animating and the progress bar is static. Unless I missed a step in creating an intermediate progress bar this is a bug!

Reproducible Demo

Just use this component!

<ProgressBar color={primary} indeterminate animating/>

I also edited react native paper expo example progress bar. You can check it on expo snack too
https://snack.expo.io/@hamidfzm/github.com-callstack-react-native-paper:example

Most helpful comment

Hey @hamidfzm , in version 2.16.0 among available props there is no prop called indeterminate (we were not supporting it yet) however, we are going to release soon version 3.0.0 where this functionality is supported. If you need it, try to use 3.0.0-alpha.2 version mentioned above.

All 2 comments

@hamidfzm Can you try 3.0.0-alpha.2 version? It works fine in our example app.

Hey @hamidfzm , in version 2.16.0 among available props there is no prop called indeterminate (we were not supporting it yet) however, we are going to release soon version 3.0.0 where this functionality is supported. If you need it, try to use 3.0.0-alpha.2 version mentioned above.

Was this page helpful?
0 / 5 - 0 ratings