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

Any field using react-select has menu z-index issue when above a HTMLEditorField #11095

Closed
pink-php opened this issue Dec 14, 2023 · 2 comments
Closed

Comments

@pink-php
Copy link

pink-php commented Dec 14, 2023

Affected Version

5.1

Description

The react-select menu's z-index is too low causing it to disappear when placed directly above a HTMLEditorField.

tree-dropdown-issue

I've added the following to my cms.css file as a temporary fix:

.treedropdownfield__menu {
    z-index:3;
}

Setting z-index to anything below 3 did not fix the issue.

Affected fields

  • TreeDropdownField
  • AchorSelectorField
  • ListboxField

PRs

@christopherdarling
Copy link
Contributor

Basically the same issue as I reported the other day on tagfield silverstripe/silverstripe-tagfield#270 could well affect some other dropdown like UI's

@GuySartorelli GuySartorelli changed the title TreeDropdownField menu z-index issue when above a HTMLEditorField Any field using react-select has menu z-index issue when above a HTMLEditorField Dec 19, 2023
@GuySartorelli GuySartorelli self-assigned this Dec 19, 2023
@GuySartorelli GuySartorelli removed their assignment Dec 19, 2023
@emteknetnz emteknetnz self-assigned this Dec 19, 2023
@emteknetnz
Copy link
Member

Linked PRs have been merged, new releases of admin and cms modules will be automatically tagged shortly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants