NativeScript / NativeScript/NativeScript
Crash on iOS with exception "Error - negative sizes are not supported in the flow layout"
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 25.7k
- Forks
- 1.7k
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 35
Description
This is a very difficult crash to figure out, since it is very intermittent. But on occasion, my app will crash with this error. I cannot determine where it is coming from, but I think it has something to do with UICollectionViews. The trouble is that when it crashes, I have not instantiated any collection views in my app. (I am using the RadListView elsewhere, but this error occurs even when I haven't used the RadListView at all.)
From what I can gather, UIAlertViews utilize UICollectionViews internally, so it might have something to do with that.
I know it isn't much to go on, but I suspect that there is something in the dialog alerts that is causing this. Could this be the case?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source file, test, or reproducible entry point is identified. Start by investigating the intermittent iOS crash around UICollectionViews, UIAlertViews, and RadListView, recording whether it occurs without an instantiated collection view. Done would require a reliable trigger and enough evidence to identify the responsible component.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ios
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 15/100