Skip to main content
Logo Appt Light

Frequent flashes on React Native

Rapidly flashing images or views (more than three flashes per second) can cause seizures for some users. You need to make sure this is not the case when designing and developing an app.

In React Native, flashing content might be a result of using Animated or Timers. By default, each animation will take 500 milliseconds. Make sure your animations does not result in more than three flashes per second.

If your app contains any videos, also check if these contain more than three flashes per second.

setTimeout(() => {
    // Avoid three flashes per second
}, 500);


Let us know!