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

feat: Disable transitions when resizing dashboard charts vertically #1585

Merged
merged 3 commits into from
Jun 10, 2024

Conversation

bprusinowski
Copy link
Collaborator

@bprusinowski bprusinowski commented Jun 10, 2024

Until now, we only disabled transitions when width was changing; we should also disable it when height changes, which solves the issues with vertically resizing charts in free canvas dashboard layout.

How to test

PR

  1. Go to this link.
  2. Add a second chart.
  3. Proceed to layout options.
  4. Resize any of the charts vertically.
  5. ✅ See that the chart resizing is immediate.

TEST

  1. Go to this link.
  2. Add a second chart.
  3. Proceed to layout options.
  4. Resize any of the charts vertically.
  5. ❌ See that the chart resizing is lagging.

Copy link

vercel bot commented Jun 10, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
visualization-tool ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 10, 2024 2:48pm

@bprusinowski bprusinowski marked this pull request as ready for review June 10, 2024 14:25
@bprusinowski bprusinowski changed the title feat: Disable transitions when resizing dashboard charts feat: Disable transitions when resizing dashboard charts vertically Jun 10, 2024
@bprusinowski bprusinowski self-assigned this Jun 10, 2024
@bprusinowski bprusinowski merged commit 33f0628 into main Jun 10, 2024
3 of 4 checks passed
@bprusinowski bprusinowski deleted the feat/dashboard-improvements branch June 10, 2024 14:47
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.

None yet

2 participants