-
Notifications
You must be signed in to change notification settings - Fork 185
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crash when editing with Cells as children #52
Comments
Cell usage is quite experimental right now, maybe i have to add it to README. This component is more intended for standard cell tableview usage. For custom cells, probably built-in ListView will be better. |
@chetstone: If you want to "hack" it, you can add one Item for every Cell that you have. It will work beacuse Item will put index for Cell. So you need to have equal number of Items and Cells. Of course Items would be invisible if you have just empty Item tags () |
@maranbomater Thanks, that helps a little bit, the cells now render without crashing but when I try to delete one I run into issue #19 ;-( |
The workaround for this is to use reactModuleForCell |
In the TableViewDemo example, if I change the children of the Edit example from
<Item>
to<Cell>
(like I have done here), I get a crash when I try to delete one of the items. Sometimes the first item can be deleted without a crash but the second deletion will cause the crash.I believe this is probably related to Issues #19 and #29.
The text was updated successfully, but these errors were encountered: