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

Fix EuiResizeObserver and EuiComboBox bugs #3180

Merged
merged 4 commits into from
Mar 27, 2020

Conversation

chandlerprall
Copy link
Contributor

@chandlerprall chandlerprall commented Mar 26, 2020

Summary

Found while upgrading Kibana.

  • EuiResizeObserver's mutation observer fallback disconnect method calls itself infinitely
  • EuiComboBox had two errors around its defaultProps

Checklist

- [ ] Check against all themes for compatibility in both light and dark modes
- [ ] 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

Copy link
Contributor

@myasonik myasonik left a comment

Choose a reason for hiding this comment

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

✅ (Mostly a rubber stamp approval as we paired on these bugs)

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.

Thanks, @chandlerprall!

@kibanamachine
Copy link

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

@kibanamachine
Copy link

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

@thompsongl thompsongl merged commit 2fb52e2 into elastic:master Mar 27, 2020
elizabetdev pushed a commit to elizabetdev/eui that referenced this pull request Mar 30, 2020
* Fixed EuiResizeObserver infinite disconnect call chain; fixed defaultProps setup in EuiComboBox

* changelog

Co-authored-by: Greg Thompson <thompson.glowe@gmail.com>
Co-authored-by: Caroline Horn <549577+cchaos@users.noreply.github.com>
@chandlerprall chandlerprall deleted the bug/eui-22-1-0-bugs branch April 1, 2020 14:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants