Skip to content

Commit 2baf8c9

Browse files
committed
fix: preserve dropdown fallback wrapper class
1 parent 703ca12 commit 2baf8c9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Dropdown.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ const Dropdown = React.forwardRef<TriggerRef, DropdownProps>((props, ref) => {
164164
triggerChildProps,
165165
)
166166
) : (
167-
<span className={!elementChild ? childClassName : undefined} ref={childRef}>
167+
<span className={childClassName} ref={childRef}>
168168
{fallbackChild}
169169
</span>
170170
);

0 commit comments

Comments
 (0)