Skip to content

Conversation

xxxijustwei
Copy link

Summary

This PR adds scrollbarGutter: "stable both-edges" CSS property to the StickToBottom component's container to prevent layout shifts when the scrollbar appears or disappears.

Changes

  • Added scrollbarGutter: "stable both-edges" style property to the scrollable container in StickToBottom.tsx

Impact

  • Improves user experience by eliminating horizontal layout shifts
  • Maintains consistent content width regardless of scrollbar visibility
  • No breaking changes to the API

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