oblador/react-native-collapsible

Collapsible slow and no animation on Android

Open

#123 aberto em 26 de out. de 2017

Ver no GitHub
 (24 comments) (0 reactions) (0 assignees)JavaScript (449 forks)github user discovery
help wanted

Métricas do repositório

Stars
 (2.589 stars)
Métricas de merge de PR
 (Métricas PR pendentes)

Description

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"

Guia do colaborador