Skip to content

Compute EuiComboBox's listbox zIndex#3551

Merged
chandlerprall merged 5 commits intoelastic:masterfrom
chandlerprall:bug/combobox-listbox-zindex
Jun 10, 2020
Merged

Compute EuiComboBox's listbox zIndex#3551
chandlerprall merged 5 commits intoelastic:masterfrom
chandlerprall:bug/combobox-listbox-zindex

Conversation

@chandlerprall
Copy link
Copy Markdown
Contributor

@chandlerprall chandlerprall commented Jun 4, 2020

Summary

Fixes an issue reported by @Kerry350 where a flyout>expression>popover>combobox's options list is rendered under the popover.

  • call getElementZIndex from popover_positioning service to find the target zIndex when opening the listbox
  • added example to the More complicated flyout section
  • removed $euiZComboBox scss variable

Before

broken zindex stacking

After

proper zindex stacking

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

@chandlerprall chandlerprall requested review from cchaos and snide June 4, 2020 15:55
@kibanamachine
Copy link
Copy Markdown

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

@kibanamachine
Copy link
Copy Markdown

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

@chandlerprall chandlerprall requested a review from cchaos June 5, 2020 19:52
@kibanamachine
Copy link
Copy Markdown

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

Copy link
Copy Markdown
Contributor

@cchaos cchaos left a comment

Choose a reason for hiding this comment

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

Thanks! LGTM. I can think of any degradations at the moment, so 🤞

Copy link
Copy Markdown
Contributor

@snide snide left a comment

Choose a reason for hiding this comment

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

Tested in browser and can't think of any problems this could cause.

@chandlerprall
Copy link
Copy Markdown
Contributor Author

jenkins test this?

@kibanamachine
Copy link
Copy Markdown

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

@chandlerprall chandlerprall merged commit 49deebb into elastic:master Jun 10, 2020
@chandlerprall chandlerprall deleted the bug/combobox-listbox-zindex branch June 10, 2020 21:04
phyolim pushed a commit to phyolim/eui that referenced this pull request Jun 11, 2020
* Updated EuiComboBox to match its combobox zIndex when rendering the listbox

* changelog

* Removed , now programmatically determining combobox options list zindex
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.

4 participants