Skip to content

Clip overflow in DefaultEmojiPickerView with ClipRect (#256) - #265

Closed
Fintasys wants to merge 2 commits into
masterfrom
claude/emoji-picker-ci-failing-tmmtv6
Closed

Clip overflow in DefaultEmojiPickerView with ClipRect (#256)#265
Fintasys wants to merge 2 commits into
masterfrom
claude/emoji-picker-ci-failing-tmmtv6

Conversation

@Fintasys

Copy link
Copy Markdown
Owner

Supersedes #259, which failed CI because it passed clipBehavior: Clip.hardEdge to Column. Column is a Flex and has no clipBehavior parameter, so flutter analyze errored with undefined_named_parameter.

This wraps the inner Column in a ClipRect instead, achieving the same goal with a valid API: overflow paint is clipped to the picker's bounds when a parent constrains it tighter than the natural sum of the category bar, emoji view, and bottom action bar (#256).

🤖 Generated with Claude Code


Generated by Claude Code

claude added 2 commits July 20, 2026 04:54
Column (a Flex) does not accept a clipBehavior parameter, so
flutter analyze failed with undefined_named_parameter. Wrap the
inner Column in a ClipRect to clip overflowing children when a
parent constrains the picker tighter than its natural height (#256).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FR5kaTA7MWRLWGmTvcN8BG
Verifies the inner Column is wrapped in a ClipRect so overflow is
clipped when the picker is constrained tighter than its natural
height (#256).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FR5kaTA7MWRLWGmTvcN8BG
@Fintasys

Copy link
Copy Markdown
Owner Author

Superseded: the ClipRect overflow fix for #256 already landed on master via #259, which left this PR redundant and conflicting. The one net-new piece here — the overflow-clipping regression test — has been salvaged onto current master in #267. Closing this in favor of that. Thanks!

@Fintasys Fintasys closed this Jul 21, 2026
Fintasys added a commit that referenced this pull request Jul 21, 2026
…267)

Salvaged from #265. The ClipRect overflow fix for #256 already landed via #259; this adds the regression test that constrains the picker below its natural height and asserts the view Column is wrapped in a ClipRect.
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