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

AutocompleteSuggestionList is hidden beneath Dialog #5375

Closed
isumix opened this issue Oct 9, 2020 · 5 comments · Fixed by #5393
Closed

AutocompleteSuggestionList is hidden beneath Dialog #5375

isumix opened this issue Oct 9, 2020 · 5 comments · Fixed by #5393
Assignees
Labels

Comments

@isumix
Copy link

isumix commented Oct 9, 2020

import {
  Dialog,
} from '@material-ui/core';

Dialog has z-index: 1300 which makes suggestion popup invisible as it has z-index: 2

<Dialog open>
  <AutocompleteInput
    source="url777"
    choices={[
        { id: 'programming', name: 'Programming' },
        { id: 'lifestyle', name: 'Lifestyle' },
        { id: 'photography', name: 'Photography' }
    ]}
  />
</Dialog>

image

@djhi
Copy link
Collaborator

djhi commented Oct 9, 2020

Duplicate of #5181

@djhi djhi marked this as a duplicate of #5181 Oct 9, 2020
@djhi djhi closed this as completed Oct 9, 2020
@isumix
Copy link
Author

isumix commented Oct 9, 2020

hmm, the solution mentioned in #2456 did not worked for v3.9.2

@djhi
Copy link
Collaborator

djhi commented Oct 9, 2020

Then can you please provide a codesandbox reproducing the issue?

@djhi djhi reopened this Oct 9, 2020
@isumix
Copy link
Author

isumix commented Oct 9, 2020

Then can you please provide a codesandbox reproducing the issue?

here you go https://codesandbox.io/s/react-admin-debug-cjo7w?file=/src/post/edit.tsx

@fzaninotto
Copy link
Member

reproduced, thanks

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 a pull request may close this issue.

3 participants