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

Component: p-treeSelect - Material Design theme does not highlight items #14453

Closed
critchie opened this issue Dec 29, 2023 · 0 comments · Fixed by #14517
Closed

Component: p-treeSelect - Material Design theme does not highlight items #14453

critchie opened this issue Dec 29, 2023 · 0 comments · Fixed by #14517
Assignees
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@critchie
Copy link

Describe the bug

When using the Material Design themes such as mdc-dark-indigo, the p-treeSelect does not highlight the item when arrowing up or down through the list. The Lara themes outline the items so you can see where you are in the list.

It could be related to the .p-tree .p-tree-container .p-treenode .p-treenode-content class in the Material Design theme having the transition set to none. The Lara theme has it set to transition: box-shadow 0.2s;

Environment

Windows 11
Brave Browser (latest)
Visual Studio Code (latest)

Reproducer

https://primeng.org/treeselect

Angular version

17.0.0

PrimeNG version

17.2.0

Build / Runtime

Angular CLI App

Language

TypeScript

Node version (for AoT issues node --version)

v20.9.0

Browser(s)

Brave v1.61.109

Steps to reproduce the behavior

  1. Visit https://primeng.org/treeselect.
  2. Set the theme to Material using the theme selector.
  3. Dropdown the Basic TreeSelect.
  4. Use arrows to navigate the list.

Result: Items are not highlighted in any way to indicate where you are in the list.

Expected behavior

Some indication of the selected item like in the Lara theme.

@critchie critchie added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Dec 29, 2023
@mehmetcetin01140 mehmetcetin01140 added Type: Bug Issue contains a bug related to a specific component. Something about the component is not working and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Jan 5, 2024
@cetincakiroglu cetincakiroglu added this to the 17.3.2 milestone Jan 8, 2024
cetincakiroglu added a commit that referenced this issue Jan 10, 2024
Fixed #14453 - TreeSelect | Material Design theme does not highlight …
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants