Skip to content

Conversation

@Light2Dark
Copy link
Contributor

@Light2Dark Light2Dark commented Jul 30, 2025

📝 Summary

Fixes #5341 .

Need to do more testing with other components that use combobox, but this allows text in dropdown to be limited to the width set.

By default, it shouldn't wrap
CleanShot 2025-07-30 at 17 38 03

If set full_width to True, and style the width, it will truncate the text
CleanShot 2025-07-30 at 17 38 54

🔍 Description of Changes

📋 Checklist

  • I have read the contributor guidelines.
  • For large changes, or changes that affect the public API: this change was discussed or approved through an issue, on Discord, or the community discussions (Please provide a link if applicable).
  • I have added tests for the changes made.
  • I have run the code and verified that it works as expected.

@vercel
Copy link

vercel bot commented Jul 30, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
marimo-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 31, 2025 3:51am

mscolnick
mscolnick previously approved these changes Jul 30, 2025
@mscolnick mscolnick merged commit 52d80a9 into main Jul 31, 2025
23 checks passed
@mscolnick mscolnick deleted the sham/dropdown-overflow branch July 31, 2025 13:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working merge when ready

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Text for Dropdown Leaves Dropdown when zoomed in too much

3 participants