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
I cannot use alignOffset to shift the content down (when align="end"), it seems that it is limit to the boundary of the trigger.
No matter what value I set for alignOffset, the content will stay at the same position.
To reproduce, try to change the alignOffset from 0 to -100, and to -1000, it won't go down anymore when it reaches the bottom edge of trigger.
No idea how to solve this, and would be very grateful for any help!
I want to dynamically display the hover card content in different vertical positions, but it remains in the same position as in the example when I tried to set the alignOffset even smaller (negative value to let it goes down).
Expected behavior
I expect I can use alignOffset to shift the content down as I set it.
The text was updated successfully, but these errors were encountered:
Lexachoc
changed the title
Unable to move Hover Card Content to down using alignOffset
Hover Card Content cannot be moved down using alignOffset
Nov 27, 2024
Bug report
Current Behavior
I cannot use
alignOffset
to shift the content down (whenalign="end"
), it seems that it is limit to the boundary of the trigger.No matter what value I set for
alignOffset
, the content will stay at the same position.To reproduce, try to change the
alignOffset
from0
to-100
, and to-1000
, it won't go down anymore when it reaches the bottom edge of trigger.No idea how to solve this, and would be very grateful for any help!
I want to dynamically display the hover card content in different vertical positions, but it remains in the same position as in the example when I tried to set the
alignOffset
even smaller (negative value to let it goes down).Expected behavior
I expect I can use
alignOffset
to shift the content down as I set it.Reproducible example
https://codesandbox.io/p/sandbox/radix-hovercardcontent-alignoffset-issue-342tpf?file=%2Fsrc%2FApp.jsx
Your environment
The text was updated successfully, but these errors were encountered: