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

[Heatmap] Scrollbars appear on container size change #1219

Closed
2 tasks done
flash1293 opened this issue Jun 24, 2021 · 1 comment
Closed
2 tasks done

[Heatmap] Scrollbars appear on container size change #1219

flash1293 opened this issue Jun 24, 2021 · 1 comment
Labels
bug Something isn't working good first issue Good for newcomers :heatmap Heatmap/Swimlane chart related issue Impact:Medium kibana cross issue Has a Kibana issue counterpart

Comments

@flash1293
Copy link

Describe the bug
If a heatmap is configured to fill it's container element completely, changing the container size (e.g. by resizing the browser window), will change the size of the visible chart, but scrollbars will appear and the user can scroll into whitespace of the original size.

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://codesandbox.io/s/polished-snowflake-vwjqx
  2. Reduce the browser height
  3. A scrollbar appears

Expected behaviour
No scrollbar

Screenshots
heatmap_resize2

It seems like the echAnchorMainTooltip element is keeping the element size:
Screenshot 2021-06-24 at 12 02 41

Version (please complete the following information):

  • OS: macOS
  • Browser: Chrome 91
  • Elastic Charts: 30.2.0

Additional context
Can be seen in the Lens heatmap integration as well

Kibana Cross Issues

Checklist

Delete any items that are not applicable to this issue.

  • every related Kibana issue is listed under Kibana Cross Issues list
  • kibana cross issue tag is associated to the issue if any kibana cross issue is present
@flash1293 flash1293 added bug Something isn't working kibana cross issue Has a Kibana issue counterpart :heatmap Heatmap/Swimlane chart related issue labels Jun 24, 2021
@markov00 markov00 added the good first issue Good for newcomers label Jul 6, 2021
@rshen91 rshen91 assigned rshen91 and unassigned rshen91 Jul 19, 2021
@nickofthyme
Copy link
Collaborator

nickofthyme commented Jul 22, 2021

@flash I cannot reproduce this in Chrome nor Firefox going back all the way to 23.1.0 when Heatmap was added. Could you confirm this and reopen if still an issue. Thanks!

Screen.Recording.2021-07-22.at.10.23.39.AM.mp4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers :heatmap Heatmap/Swimlane chart related issue Impact:Medium kibana cross issue Has a Kibana issue counterpart
Projects
None yet
Development

No branches or pull requests

4 participants