Skip to content

bug: Can't change the current in folderTree #724

@mortalYoung

Description

@mortalYoung

Describe the bug

I want to change the current in folderTree. So I use molecule.folderTree.setActive() to change the current active treeNode. But only state changed, the page doesn't re-render.

Versions

  • OS: MacOS
  • Browser: Firefox
  • Molecule: 0.9.0-beta.4.2

To reproduce

  • molecule.folderTree.setActive()

Expected

After using molecule.folderTree.setActive(1), and the treeNode whose id is 1 will highlight.

Actually happening

The treeNode whose is 1 didn't highlight.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions