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
Basically, the react-relative-portal package creates a new element at the exact position it would be at normally but the element is moved straight to the body. This causes issues with ClampLines - The lines are shown, but not clamped.
The text was updated successfully, but these errors were encountered:
I've added another example to the codesandbox with a ClampLines element in the root div. It's working perfectly fine in the root div, but doesn't clamp anything in the Portal.
https://codesandbox.io/embed/clamplines-weirdness-relativeportal-yo87m
Basically, the
react-relative-portal
package creates a new element at the exact position it would be at normally but the element is moved straight to thebody
. This causes issues with ClampLines - The lines are shown, but not clamped.The text was updated successfully, but these errors were encountered: