Skip to content

UI issue with combobox #4347

@kgoeltwilio

Description

@kgoeltwilio

Description

Hi Paste team,

We use comboboxes extensively throughout the Twilio Console, including in our API explorers where we use one for users to change their code language.

In the latest version of Paste, we've noticed that an additional span element has been introduced as a direct child of COMBOBOX_LIST_ITEM. This span has a white background-color, which is causing the list items to appear invisible and making it difficult for users to select them.

this is what is expected ( or was there earlier ) :
Image

this is what is currently happening :
Image

I've found this extra span element in the newer version of paste having white background as compared to the older version.
old version:

Image

in new version:

Image

You can check the code sandbox link ( I've replicated the same issue there )

Link to Reproduction

https://codesandbox.io/p/sandbox/clever-lamport-4k7w6v?file=%2Fsrc%2Findex.tsx%3A10%2C1

Steps to reproduce

  1. Go to '...'
  2. Click on '...'
  3. Scroll down to '...'
  4. See error

Paste Core Version

21.3.0 ( latest )

Browser

No response

Operating System

  • macOS
  • Windows
  • Linux

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area: ComponentsRelated to the component library (core) of this systemType: BugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions