Skip to content

Fix AutoSizeWrapper#15

Open
rortan134 wants to merge 1 commit into
raphaelsalaja:mainfrom
rortan134:fix/wrapper-ref
Open

Fix AutoSizeWrapper#15
rortan134 wants to merge 1 commit into
raphaelsalaja:mainfrom
rortan134:fix/wrapper-ref

Conversation

@rortan134
Copy link
Copy Markdown

  • Prefers useLayoutEffect to fix paint frame skips and some layout shifts
  • Replaces useState ref with useRef since the element reference does not need to trigger re-renders

@vercel
Copy link
Copy Markdown

vercel Bot commented May 11, 2026

@rortan134 is attempting to deploy a commit to the Raphael Salaja Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant