oblador/react-native-collapsible

Collapsible slow and no animation on Android

Open

#123 建立於 2017年10月26日

在 GitHub 查看
 (24 留言) (0 反應) (0 負責人)JavaScript (449 fork)github user discovery
help wanted

倉庫指標

Star
 (2,589 star)
PR 合併指標
 (PR 指標待抓取)

描述

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"

貢獻者指南