-
Notifications
You must be signed in to change notification settings - Fork 8.1k
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
[Lens] XY chart -long legend overflows chart in editor Feature:Lens #70702
Conversation
Pinging @elastic/kibana-app (Team:KibanaApp) |
#69820 is merged now but there are some conflicts. Could you check them out? |
e651834
to
073c38c
Compare
@elasticmachine merge upstream |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@elasticmachine merge upstream |
I see the tag to skip release notes, is this because the bug was not released in 7.8? |
@wylieconlon yes, it was introduced with the new chart settings layout (the upper panel) |
@elasticmachine merge upstream |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pulled down and tested this. Seems to have fixed the original issue. Just need to change the className to adhere to BEM naming conventions.
One annoying rendering issue I'm seeing is that the scrollbar for the legend flashes a bunch when resizing the browser. Any thoughts on why this might be happening?
...ns/lens/public/editor_frame_service/editor_frame/workspace_panel/workspace_panel_wrapper.tsx
Outdated
Show resolved
Hide resolved
x-pack/plugins/lens/public/editor_frame_service/editor_frame/_workspace_panel_wrapper.scss
Outdated
Show resolved
Hide resolved
bem convention Co-authored-by: Caroline Horn <549577+cchaos@users.noreply.github.com>
@elasticmachine merge upstream |
💚 Build SucceededBuild metrics
History
To update your PR or re-run it, just comment with: |
@cchaos About the flashing scroll bar - I think this happens because the elastic-chart is not rerendering fast enough - not sure whether there is a good way to prevent it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 LGTM. We should follow up on the flashing scrollbar in another PR because it doesn't happen in the Charts Storybook, so it might be an implementation detail.
Summary
Fixes #69796