Skip to content

Spinner with animating={false} still shown (animating prop is not passed to ActivityIndicator) #5642

@jacargentina

Description

@jacargentina

Description

Spinner with animating={false} still shown (animating prop is not passed to ActivityIndicator)

CodeSandbox/Snack link

https://snack.expo.dev/GE_VJd_amh

Steps to reproduce

              <Spinner
                style={{ paddingVertical: 20 }}
                size="lg"
                animating={false}
              />

The spinner should not be shown, but it is.

NativeBase Version

3.4.25

Platform

  • Android
  • CRA
  • Expo
  • iOS
  • Next

Other Platform

No response

Additional Information

https://github.com/GeekyAnts/NativeBase/blob/master/src/components/primitives/Spinner/index.tsx

 return (
    <ActivityIndicator
      testID={testID}
      accessible
      accessibilityLabel="loading"
      color={resolvedColor}
      ref={ref}
      size={size}
      style={[resolvedStyle, style]}
    />
  );

There is no animating prop passed to it.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions