Skip to content

fix: render object attach#46

Merged
Norbert515 merged 1 commit intoNorbert515:mainfrom
jolexxa:fix/render-object-attach
Feb 12, 2026
Merged

fix: render object attach#46
Norbert515 merged 1 commit intoNorbert515:mainfrom
jolexxa:fix/render-object-attach

Conversation

@jolexxa
Copy link
Contributor

@jolexxa jolexxa commented Feb 6, 2026

Working on utilizing SelectionArea from #40 in my TUI app, Cow. It has two panes and when I wrapped their contents with SelectionArea's, no selections would appear.

Claude did some serious digging for quite some time and realized this was the issue. It said it needed to do what Flutter's adoptChild was doing and showed me this: https://github.com/flutter/flutter/blob/ddd957bb2a6c0b70b2f2ff348aa5211fd83b97f7/packages/flutter/lib/src/rendering/object.dart#L2042

cow.select.mp4

Can confirm this fixes the selection issue.

@Norbert515 Norbert515 merged commit 1c9cd4d into Norbert515:main Feb 12, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants