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

Pass ref to EuiFlexGroup #2223

Merged
merged 6 commits into from
Aug 23, 2019
Merged

Conversation

thompsongl
Copy link
Contributor

@thompsongl thompsongl commented Aug 13, 2019

Summary

Fixes #2220 by using the forwardRef API to pass ref down to the base HTML element.

Checklist

- [ ] Checked in dark mode
- [ ] Checked in mobile
- [ ] Checked in IE11 and Firefox
- [ ] Props have proper autodocs
- [ ] Added documentation examples
- [ ] Added or updated jest tests
- [ ] Checked for breaking changes and labeled appropriately
- [ ] Checked for accessibility including keyboard-only and screenreader modes

  • A changelog entry exists and is marked appropriately

@thompsongl thompsongl changed the title Pass ref to `EuiFlexGroup Pass ref to EuiFlexGroup Aug 13, 2019
@thompsongl thompsongl marked this pull request as ready for review August 14, 2019 18:25
Copy link
Contributor

@joelgriffith joelgriffith left a comment

Choose a reason for hiding this comment

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

LGTM!

Copy link
Contributor

@chandlerprall chandlerprall left a comment

Choose a reason for hiding this comment

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

Changes LGTM, had one question about what looks like an unrelated change

@thompsongl thompsongl merged commit c2d0062 into elastic:master Aug 23, 2019
thompsongl added a commit to thompsongl/eui that referenced this pull request Sep 10, 2019
* forwardRef

* clean up

* CL
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.

Allow for ref's to be forwarded for the EuiFlexGroup component
3 participants