Skip to content

refactor(ui): Improve EmojiPicker layout constraints#4250

Merged
jamesarich merged 1 commit into
meshtastic:mainfrom
jamesarich:fix/emojipicker
Jan 18, 2026
Merged

refactor(ui): Improve EmojiPicker layout constraints#4250
jamesarich merged 1 commit into
meshtastic:mainfrom
jamesarich:fix/emojipicker

Conversation

@jamesarich

Copy link
Copy Markdown
Collaborator

This commit removes the fixed maximum height from the EmojiPicker in the messaging screen, allowing it to better adapt to different screen sizes.

The EmojiPickerView is now wrapped in a verticalScroll modifier and its height is set to wrapContentHeight. This prevents the picker from taking up the full screen height on larger devices while still allowing it to scroll if its content exceeds the available space. The redundant Box wrapper in MessageItem.kt has been removed.

This commit removes the fixed maximum height from the `EmojiPicker` in the messaging screen, allowing it to better adapt to different screen sizes.

The `EmojiPickerView` is now wrapped in a `verticalScroll` modifier and its height is set to `wrapContentHeight`. This prevents the picker from taking up the full screen height on larger devices while still allowing it to scroll if its content exceeds the available space. The redundant `Box` wrapper in `MessageItem.kt` has been removed.

Signed-off-by: James Rich <2199651+jamesarich@users.noreply.github.com>
@github-actions github-actions Bot added the bugfix PR tag label Jan 17, 2026
@jamesarich jamesarich enabled auto-merge January 17, 2026 23:16
@codecov

codecov Bot commented Jan 17, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 0.00%. Comparing base (46a2c68) to head (77818e0).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@          Coverage Diff          @@
##            main   #4250   +/-   ##
=====================================
  Coverage   0.00%   0.00%           
=====================================
  Files          3       3           
  Lines         23      23           
  Branches       7       7           
=====================================
  Misses        23      23           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jamesarich jamesarich added this pull request to the merge queue Jan 17, 2026
Merged via the queue into meshtastic:main with commit d9bc79b Jan 18, 2026
8 checks passed
@jamesarich jamesarich deleted the fix/emojipicker branch January 18, 2026 00:06
jamesarich added a commit to jamesarich/Meshtastic-Android that referenced this pull request Jan 21, 2026
Signed-off-by: James Rich <2199651+jamesarich@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix PR tag

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant