oblador/react-native-collapsible

Collapsible slow and no animation on Android

Open

#123 geöffnet am 26. Okt. 2017

Auf GitHub ansehen
 (24 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (449 Forks)github user discovery
help wanted

Repository-Metriken

Stars
 (2.589 Stars)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

I've copied the example in the Example folder.

When opening it on my Android emulator or on my physical Android device, it is 9 of ten times very slow. The 1 out of 10 times it isn't slow, it becomes slow after the first hot-reload.

When pressing a button it takes about 0.5 - 1 seconds before the collapsible responds and opens/closes. I thought it could be because of too little memory on my emulator, but my physical device should be fast enough (Nexus 6P). I thought it could be because the rest of my app uses Redux, but the example obviously doesn't interact with that.

Could it be an Expo issue?

I saw some similar issues on here, but not really a solution.

using

"expo": "^22.0.0",
"moment": "^2.18.1",
"react": "16.0.0-alpha.12",
"react-native": "^0.46.1",
"react-native-animatable": "^1.2.4",
"react-native-collapsible": "^0.9.0"

Contributor Guide