Skip to content

fix: use ResizeMixin to observe chart resize - #3463

Merged
web-padawan merged 1 commit into
masterfrom
fix/chart-resize-observer
Feb 17, 2022
Merged

web-padawan merged 1 commit into
masterfrom
fix/chart-resize-observer

Conversation

@web-padawan

Copy link
Copy Markdown
Member

Description

Replaced an old workaround that only handled chart.style.height with a proper ResizeObserver.

Note, this fix only goes to Vaadin 23 because there is no ResizeMixin in older versions.

Fixes #1605

Type of change

  • Bugfix

@sonarqubecloud

Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

Comment thread packages/charts/src/vaadin-chart.js Resolved
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.

[charts] Width is not updated when chart is rendered in a board row

2 participants