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

The expand and collapse state triggers when opening a DropDown component popup in the cell template #3871

Open
yanmariomenev opened this issue Dec 12, 2022 · 2 comments
Labels
Bug FP: Unplanned Sync status with associated Feedback Item pkg:treelist Team2

Comments

@yanmariomenev
Copy link
Contributor

yanmariomenev commented Dec 12, 2022

Describe the bug
This bug happens from v5.0.5 related to unifying the icons of the component which seems to trigger the expand/collapse state when opening the popup of a ComboBox using by clicking the arrow icon.

chrome_O5fxDL71qT

To Reproduce
Open - https://stackblitz.com/edit/angular-yh2up8?file=src%2Fapp%2Fapp.module.ts
Trigger the popup of the DropDownList or Combobox components.

Workaround

  1. Use DropDowns package version 5.0.4

  2. Stop the click event propagation- https://stackblitz.com/edit/angular-yh2up8-zwwvc7?file=src%2Fapp%2Fapp.component.ts

  3. Replacing the DropDown arrow button with an icon:
    https://stackblitz.com/edit/angular-5rzk6r-qsa1on?file=src%2Fapp%2Fapp.component.ts

@yanmariomenev yanmariomenev added Bug Team2 pkg:treelist FP: Unplanned Sync status with associated Feedback Item labels Dec 12, 2022
@georgi-sla
Copy link
Contributor

georgi-sla commented Oct 20, 2023

@hetalishah
Copy link

This behavior can also be observed when a button with SVG icon is added in the cell of the TreeList: https://stackblitz.com/edit/angular-71rwjy?file=src%2Fapp%2Fapp.component.ts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug FP: Unplanned Sync status with associated Feedback Item pkg:treelist Team2
Projects
None yet
Development

No branches or pull requests

3 participants