From ada87e07ab2425cdfb1676f02c8e48900f1d1f40 Mon Sep 17 00:00:00 2001 From: Ali Hosseinverdi Date: Sun, 16 Nov 2025 14:34:34 +0330 Subject: [PATCH] fix: remove `truncate` class to restore dropdown scrollbar visibility ### Summary This PR removes the `truncate` class from the default SELECT_CLASSES configuration. Using `truncate` on a native `` elements. ### Fix - Removed the `truncate` class from SELECT_CLASSES so the dropdown can render normally with scroll support. ### Impact - Scroll bar now appears correctly when a select widget contains many items. - No visual regressions in the collapsed select display. --- src/unfold/widgets.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/unfold/widgets.py b/src/unfold/widgets.py index 9d6895abb..562b42915 100644 --- a/src/unfold/widgets.py +++ b/src/unfold/widgets.py @@ -130,7 +130,6 @@ "pr-8!", "max-w-2xl", "appearance-none", - "truncate", ] PROSE_CLASSES = [