Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chart size flickers when 'repaint' is invoked #83

Open
glebfox opened this issue Aug 23, 2019 · 1 comment
Open

Chart size flickers when 'repaint' is invoked #83

glebfox opened this issue Aug 23, 2019 · 1 comment
Assignees
Labels
no solution yet type: bug Something isn't working
Milestone

Comments

@glebfox
Copy link
Member

glebfox commented Aug 23, 2019

Environment

  • Platform version: 7.0.10

Description of the bug or enhancement

  • Minimal reproducible example

demo-shaking-charts.zip

  1. Open Charts screen
  2. Change Graph type
  • Actual behavior

e0a7cba6ba9c4eed5a9f9fd8534065cb0ca13221

@glebfox glebfox added the type: bug Something isn't working label Aug 23, 2019
@glebfox glebfox added this to the Release 7.0 milestone Aug 23, 2019
@knstvk knstvk assigned glebfox and unassigned t1-cuba Aug 26, 2019
@glebfox glebfox assigned Flaurite and unassigned glebfox Sep 16, 2019
@Flaurite
Copy link
Contributor

Charts do not change size. When we mark componet as dirty (in this case using "repaint") Vaadin will try to check component sizes. As we use relative sizes with (percentage), Vaadin tries to resize them.

As work around it is possible to use certain sizes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no solution yet type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants