KEMBAR78
fix: allow setting null explicitly to reset width and height by web-padawan · Pull Request #9456 · vaadin/web-components · GitHub
Skip to content

Conversation

@web-padawan
Copy link
Member

Description

Fixed a finding from #9453 also for vaadin-dialog.

Currently setting width or height to null explicitly doesn't restore the original width or height.
This can end up with an overlay in unexpected state. This PR fixes that by adding null check.

Type of change

  • Bugfix

@sonarqubecloud
Copy link

sonarqubecloud bot commented Jun 9, 2025

@web-padawan web-padawan removed the request for review from vursen June 9, 2025 14:17
@web-padawan web-padawan merged commit 1b895c6 into main Jun 9, 2025
10 checks passed
@web-padawan web-padawan deleted the fix/dialog-width-height-null branch June 9, 2025 14:17
web-padawan added a commit that referenced this pull request Jun 9, 2025
…9458)

Co-authored-by: Serhii Kulykov <iamkulykov@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants