Skip to content

Fix EuiResizeObserver and EuiComboBox bugs#3180

Merged
thompsongl merged 4 commits intoelastic:masterfrom
chandlerprall:bug/eui-22-1-0-bugs
Mar 27, 2020
Merged

Fix EuiResizeObserver and EuiComboBox bugs#3180
thompsongl merged 4 commits intoelastic:masterfrom
chandlerprall:bug/eui-22-1-0-bugs

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

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants