Skip to content

ActivityIndicator strange behavior on devices with android 8.1.0 #4670

Open
@Angelk90

Description

@Angelk90

Current behaviour

As you can see from the video, ActivityIndicator has a strange behavior on old devices.
I tried both version 4.9.2 that is used on expo code example and version 5.13.1, on a personal project.
But I get the same result.
This problem does not happen with recent devices.

Registrazione.schermo.2025-04-04.alle.18.11.19.mov

Expected behaviour

Registrazione.schermo.2025-04-04.alle.18.30.45.mov

How to reproduce?

https://snack.expo.dev/HWOolN3Q69d6G3WbHHuOK

import { Text, SafeAreaView, StyleSheet } from 'react-native';

import { ActivityIndicator } from 'react-native-paper';

export default function App() {
  return (
    <SafeAreaView style={styles.container}>
      <ActivityIndicator animating={true} color="#00BFFF" />
      <ActivityIndicator color="#ffffff" />
    </SafeAreaView>
  );
}

const styles = StyleSheet.create({
  container: {
    flex: 1,
    justifyContent: 'center',
    backgroundColor: '#000',
    padding: 8,
  },
});

What have you tried so far?

Your Environment

software version
android 8.1.0
react-native 0.78.2
react-native-paper 4.9.2 or 5.13.1

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