Skip to content

Apply PR requests to EuiBottomBar#38

Merged
cchaos merged 2 commits intocchaos:feature/BottomBarAffordForDisplacementfrom
chandlerprall:feature/BottomBarAffordForDisplacement-changes
Oct 26, 2020
Merged

Apply PR requests to EuiBottomBar#38
cchaos merged 2 commits intocchaos:feature/BottomBarAffordForDisplacementfrom
chandlerprall:feature/BottomBarAffordForDisplacement-changes

Conversation

@chandlerprall
Copy link
Copy Markdown

No description provided.

}

componentWillUnmount() {
document.body.style.paddingBottom = '';
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Can this be under an if for if this.props.affordForDisplacement is true so in case the consumer had set it to false because they have a special padding they're adding to the body element they don't want ovreridden.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Good thinking, done!

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Thanks!!!

@cchaos cchaos merged commit f770d96 into cchaos:feature/BottomBarAffordForDisplacement Oct 26, 2020
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.

2 participants