-
Notifications
You must be signed in to change notification settings - Fork 58
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 nesting more than 3 group blocks #1486
Comments
I think while I'd like to avoid limiting nesting beyond a few levels, we could temporarily limit nesting beyond a certain level by hiding the appenders in those cases. However, we'll still need to support the display of infinitely nested blocks considering the web has no restriction. So I'd prefer to not limit if possible. |
It’s true that there are no restrictions set on the web, but “infinite” is a big number 😉 Id say it’s more that it hasn’t been addressed rather than its supported: I think it’s reasonable to expect way more than three levels of nesting, but I also think it’s reasonable to set a limit somewhere, because you just can’t render “infinite”. The only alternative I see is to consider some sort of modal editing where you would enter an edit mode for a block beyond the nesting limit, starting with that group as the top level item. |
Oh, I fully agree – I'm not saying there shouldn't be a max, I'm just saying that's the reality at the moment. It's worth noting that we pushed hard for a more flexible layout and interaction model for small screens on mobile that relies less on added padding on each level so in theory, we could more gracefully support deeper nesting. With that said, I wouldn't be opposed to somehow setting a reasonable max. Maybe something like 5 levels is a good starting point. |
We fixed this crash by patching react native. |
We are having a crash when we nest more than 3 group blocks, details can be found in this comment.
Root cause analysis done by @dratwas:
Solution
We have multiple work to do about this.
cc @koke
The text was updated successfully, but these errors were encountered: