You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a ListView of small cells of products, when I pulled very fast to trigger the load more, there's a chance it crashes. It is especially frequent on slower devices: iPhone5 / iPhone6plus.
If setting removeClippedSubviews to be false, it appears solve the problem.
Steps to Reproduce / Code Snippets
This is the list view. Sorry the full code seem to be a bit long but since I can reproduce this on several different listviews, this shouldn't be an special case.
And this is the stack trace from Xcode:
Looks like is rooted from the clipping process.
Expected Results
Shouldn't crash
Additional Information
React Native version: 0.35
Platform(s):iOS
Operating System:OSX
The text was updated successfully, but these errors were encountered:
@SunnyGurnani I think the clipping action removes those invisible images which finally lead to the crash. You are right its a temporary hack and doesn't fix the root.
MattFoley
pushed a commit
to skillz/react-native
that referenced
this issue
Jan 5, 2017
Issue Description
I have a ListView of small cells of products, when I pulled very fast to trigger the load more, there's a chance it crashes. It is especially frequent on slower devices: iPhone5 / iPhone6plus.
If setting removeClippedSubviews to be false, it appears solve the problem.
Steps to Reproduce / Code Snippets
This is the list view. Sorry the full code seem to be a bit long but since I can reproduce this on several different listviews, this shouldn't be an special case.
And this is the stack trace from Xcode:
Looks like is rooted from the clipping process.
Expected Results
Shouldn't crash
Additional Information
The text was updated successfully, but these errors were encountered: