mirror of
https://github.com/anomalyco/opentui.git
synced 2026-04-24 20:45:56 +03:00
[GH-ISSUE #199] Adding an item in the middle of a list causes the react renderer to crash #813
Labels
No labels
bug
core
documentation
feature
good first issue
help wanted
pull-request
question
react
solid
tmux
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/opentui#813
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @eli0shin on GitHub (Oct 5, 2025).
Original GitHub issue: https://github.com/anomalyco/opentui/issues/199
When a list is rendered (I've seen this in scrollbox and in regular boxes) if an item is added in the middle of the list the renderer crashes with the following error:
I extended the react scroll example to add a new item to the middle of the list after 3 seconds and added an Error Boundary to render the error. Here is the code to reproduce it reliably.
If you remove the last box after the extra one the renderer does not crash.