You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello guys, I have a use case that is not possible to achieve right now.
The dropdown component has top, left, and right directions. The bottom is the default one. It works for most use cases but fails when I need the dropdown to appear on top on mobile and bottom on desktop. That's because once I add dropdown-top, there is no class to override the top style, like lg:dropdown-bottom. According to the tailwind docs, there is no way to target a single breakpoint.
The same happens with the Tooltip, but the top direction is missing.
If it makes sense, I can open a PR with the change.
The text was updated successfully, but these errors were encountered:
Hello guys, I have a use case that is not possible to achieve right now.
The dropdown component has
top
,left
, andright
directions. Thebottom
is the default one. It works for most use cases but fails when I need the dropdown to appear on top on mobile and bottom on desktop. That's because once I adddropdown-top
, there is no class to override thetop
style, likelg:dropdown-bottom
. According to the tailwind docs, there is no way to target a single breakpoint.The same happens with the Tooltip, but the
top
direction is missing.If it makes sense, I can open a PR with the change.
The text was updated successfully, but these errors were encountered: