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

[EuiPageSidebar] Fix inline styles not updating if sticky is not set #6191

Merged
merged 3 commits into from
Aug 29, 2022

Conversation

cee-chen
Copy link
Contributor

@cee-chen cee-chen commented Aug 29, 2022

Summary

This PR fixes an issue that Caroline was running into in her EuiPageTemplate Kibana upgrade PR (elastic/kibana#138546):

The reason why minWidth isn't updating downstream in Kibana is because sticky is not set in Kibana, and EuiPageSidebar has buggy logic causing inline styles not to be correctly updated if sticky is not set.

Checklist

@cee-chen cee-chen marked this pull request as ready for review August 29, 2022 22:23
@cee-chen
Copy link
Contributor Author

Built/tested locally and confirmed that this now works correctly in Kibana.

Copy link
Contributor

@thompsongl thompsongl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code LGTM!

@cee-chen cee-chen enabled auto-merge (squash) August 29, 2022 22:41
@kibanamachine
Copy link

Preview documentation changes for this PR: https://eui.elastic.co/pr_6191/

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.

3 participants