Skip to content

Conversation

@web-padawan
Copy link
Member

Description

Fixes vaadin/flow-components#8321

Previously in #9903 the logic was changed to set overflow on dialog resizer container resize and only apply overflow: auto if overflow attribute is set, which is different from the V24 version.

However, in case of expanding vaadin-details component there is no change in .resizer-container and therefore the content overflows. This PR changes the CSS to always apply overflow: auto which handles such cases correctly.

Type of change

  • Bugfix

@sonarqubecloud
Copy link

sonarqubecloud bot commented Dec 4, 2025

@jouni
Copy link
Member

jouni commented Dec 4, 2025

The reason for conditionally setting overflow is that focus outlines and other visual effects outside a component that’s on the edge of the content area would be visible if when scrolling is not needed.

Screenshot 2025-12-04 at 20 03 15

vs

Screenshot 2025-12-04 at 20 03 43

@jouni
Copy link
Member

jouni commented Dec 4, 2025

That’s arguably a minor issue, and maybe something that the app developer might consider fixing by applying a small padding on the content layout.

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.

Dialog content overflow instead of scroll when modifying content

4 participants