Skip to content

Instabug hijacking main thread on Modal open after Instabug 8.4.0 #370

@tedcurrent

Description

@tedcurrent

Modal opens have started to lag since instabug-react-native 8.4.0. Reverting to 8.3.4 seems to fix the issue. Please see screenshots and videos below.

Steps to Reproduce the Problem

  1. Install instabug-react-native 8.4.0 or newer
  2. Add a RN Modal with animation (easiest to use react-native-modal)
  3. Open the modal

Expected Behavior

Modal open should animate smoothly.

Actual Behavior

Modal open animation lags (skips frames).

Instabug integration code

SDK Version

"instabug-reactnative": "8.5.4"

React Native, iOS and Android Versions

"react-native": "0.60.4"
iOS 12.4

Device Model

iPhone X and iPhone XS at least.

Diagnostics screenshots

Instabug 8.5.4 (poor perf)
poor-perf

Instabug 8.3.4 (good perf)
good-perf

Videos demonstrating both scenarios

videos.zip

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions