Skip to content

Conversation

@Nowely
Copy link
Contributor

@Nowely Nowely commented Dec 23, 2025

Changes

  • Settings.module.scss: Made __menu a flex column container with min-height: 0 to enable inner scroll
  • SettingsMenu.module.scss: Added overflow-y: auto to scroll menu items independently
  • Added Overflow story to test scroll behavior with many menu items and page content

@Nowely Nowely changed the title fix: add overflow-y property to settings menu for better scrolling be… fix: add overflow-y to settings menu Dec 23, 2025
@gravity-ui-bot
Copy link
Contributor

Preview is ready.

@gravity-ui-bot
Copy link
Contributor

Playwright Test Component is ready.


&__menu {
border-right: 1px solid var(--g-color-line-generic);
overflow-y: auto;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will scroll whole block, including search field, isn't it?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, you're right. This behavior is similar to that of the __page.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe only items should have scroll, i think search form and header should remain on the screen

@DarkGenius
Copy link
Collaborator

Please add a story with more elements in the settings to check the scrolling behavior.

@Nowely Nowely changed the title fix: add overflow-y to settings menu fix(Settings): scroll only menu items, keep title and search fixed Dec 25, 2025
@Nowely Nowely changed the title fix(Settings): scroll only menu items, keep title and search fixed fix(Settings): add scroll only menu items, keep title and search fixed Dec 25, 2025
@Nowely Nowely force-pushed the fix-settings-overflow branch from de3a369 to 05647e2 Compare January 13, 2026 07:53
@Nowely
Copy link
Contributor Author

Nowely commented Jan 13, 2026

@DarkGenius Pr can be reviewed

@Nowely Nowely merged commit 14c214b into main Jan 14, 2026
5 checks passed
@Nowely Nowely deleted the fix-settings-overflow branch January 14, 2026 14:36
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.

5 participants