Skip to content

[Tree] Lazy loaded tree nodes are not selected #2806

@fransdeboer

Description

@fransdeboer

Provide a general summary of the issue here

if in a lazy loaded tree a parent node is checked, the child nodes are not checked when loaded.

Image

🤔 Expected Behavior?

lazy loaded children should be checked

😯 Current Behavior

lazy loaded children are not selected, children are only selected if already loaded.

💁 Possible Solution

🖥️ Steps to Reproduce

in storybook (tree.stories.ts) add multiple: true to the LazyLoad story (see screenshot)

Image

What browsers are you seeing the problem on? (only for bugs in code)

Chrome

If other, please specify.

No response

What operating system are you using?

WSL

👤 Your name

Frans de Boer

🧢 Your product/team

Magister

🎨 Your Theme(s)

Magister

Metadata

Metadata

Assignees

Type

Projects

Status

✅ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions