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

[Bug]: Select component on hover shows invalid title/tooltip #15752

Open
2 tasks done
sandeshdarde opened this issue Feb 14, 2024 · 1 comment · May be fixed by #15788
Open
2 tasks done

[Bug]: Select component on hover shows invalid title/tooltip #15752

sandeshdarde opened this issue Feb 14, 2024 · 1 comment · May be fixed by #15788
Assignees
Labels
component: select good first issue 👋 Used by GitHub to elevate contribution opportunities severity: 3 User can complete task, and/or has a workaround type: bug 🐛

Comments

@sandeshdarde
Copy link

Package

carbon-components-react

Browser

No response

Package version

v8.41.2

React version

v18.2.0

Description

https://react.carbondesignsystem.com/?path=/docs/components-select--overview
When we hover to dropdown first time on default selected value (without changing option) hover title is not showing.
After changing value it show value on hover.

Expected: text should show on hover as title. value can be number or any unique key

Example:

<Select
  id={`select-2`}
  labelText="Select an option"
  helperText="Optional helper text">
  <SelectItem value="option-1" text="Option 1" />
  <SelectItem value="option-2" text="Option 2" />
  <SelectItem value="option-3" text="Option 3" />
</Select>

On hover it should show Option 1, Option 2, Option 3 but it is showing option-1, option-2, option-3. (after changing option from dropdown)

Reproduction/example

https://react.carbondesignsystem.com/?path=/docs/components-select--overview

Steps to reproduce

  • hover on default selected value. see we do not have any hover title
  • Change select dropdown value and again over on selected
  • It will show value title not text.
Screenshot 2024-02-12 at 5 23 08 PM

Suggested Severity

None

Application/PAL

No response

Code of Conduct

@alisonjoseph alisonjoseph added component: select severity: 3 User can complete task, and/or has a workaround good first issue 👋 Used by GitHub to elevate contribution opportunities and removed status: needs triage 🕵️‍♀️ labels Feb 16, 2024
@mHuzefa
Copy link
Contributor

mHuzefa commented Feb 20, 2024

Hi @alisonjoseph, If it's still open then I want to fix that issue. Please assign this to me. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: select good first issue 👋 Used by GitHub to elevate contribution opportunities severity: 3 User can complete task, and/or has a workaround type: bug 🐛
Projects
Status: 🚦 In Review
Development

Successfully merging a pull request may close this issue.

3 participants