Skip to content

Autocomplete is hidden behind overlay #1971

Description

@clarkmcc

Describe the bug
There are two separate issues here but I was able to reproduce them in the same CodeSandbox so I figured I would create just one issue.

  • When I put an AutoComplete inside an Overlay the autocomplete's overlay goes behind the parent Overlay. Is there a way to get around this or is this a bug?
  • The Overlay does not position based on the anchorRef, it's always in the top-left of the screen. This is reproducible in the docs actually.

To Reproduce
Steps to reproduce the behavior:

  1. Go to this CodeSandbox

Expected behavior
I would expect the AutoComplete's overlay to be on top of the parent's overlay because the autocomplete overlay was opened at a later time.

Screenshots
image

Desktop (please complete the following information):

  • OS: [e.g. iOS] macOS 12.2.1
  • Browser [e.g. chrome, safari] Chrome
  • Version [e.g. 22] 99.0.4844.51 (Official Build) (arm64)

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions