Skip to content

Conversation

monam2
Copy link
Contributor

@monam2 monam2 commented Aug 11, 2025

Fixes #7968

Fixed horizontal expansion issue in ScrollArea.Autosize when scrollbars="y" is set. The container was growing beyond parent width limits and showing native scrollbars instead of custom ones.

  • Modified ScrollArea.Autosize wrapper to use overflow: 'hidden' instead of overflow: 'auto'
  • Added flex constraints to prevent horizontal expansion when scrollbars="y"
  • Added story test case to verify the fix

Tested with PillGroup component and long content scenarios.
The PillGroup component used for testing has been added to Storybook.

스크린샷 2025-08-12 오전 1 29 00

@rtivital rtivital merged commit 9c6ec63 into mantinedev:master Aug 16, 2025
1 check passed
@rtivital
Copy link
Member

Thanks!

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.

ScrollArea extends horizontally even with scrollbars="y" set
2 participants