ix
ix copied to clipboard
Fix ix-tree click and toggle behavior
๐ก What is the current behavior?
- Tree items can only be expanded by clicking the toggle icon, not by clicking the item itself.
- A click action is not emitted when clicking the area, where the toggle icon would be shown on an item that is not expandable.
GitHub Issue Number: #1633
๐ What is the new behavior?
- The click action now is emitted when the area of an item is clicked, where the toggle icon would be shown if it was expandable.
- An optional attribute to enable toggling items by clicking on the item itself was introduced.
- The selection of an item remains when items are expanded or collapsed clicking the toggle icon.
- Additional tests have been added.
๐ Checklist
A pull request can only be merged if all of these conditions are met (where applicable):
- [ ] ๐ฆฎ Accessibility (a11y) features were implemented
- [ ] ๐บ๏ธ Internationalization (i18n) - no hard coded strings
- [ ] ๐ฒ Responsiveness - components handle viewport changes and content overflow gracefully
- [ ] ๐ Documentation was reviewed/updated (
pnpm run docs) - [x] ๐งช Unit tests were added/updated and pass (
pnpm test) - [ ] ๐ธ Visual regression tests were added/updated and pass (Guide)
- [ ] ๐ง Static code analysis passes (
pnpm lint) - [x] ๐๏ธ Successful compilation (
pnpm build, changes pushed)
๐จโ๐ป Help & support
๐ฆ Changeset detected
Latest commit: e03211b5575fdfa0b189417421dadd176de73697
The changes in this PR will be included in the next version bump.
This PR includes changesets to release 4 packages
| Name | Type |
|---|---|
| @siemens/ix | Minor |
| @siemens/ix-vue | Minor |
| @siemens/ix-angular | Minor |
| @siemens/ix-react | Minor |
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
Quality Gate passed
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code