Skip to content

Inconsistent state on visibility in the new tree widget #1649

@actifred

Description

@actifred

Description of the issue and steps to reproduce

  1. Open an iModel containing several elements and categories.
  2. In the tree widget, click fast several times on the eye icon of a category to toggle visibility on and off
  3. At some point the toggle is no more reflecting the state of the element in the category (e.g. the eye is open while the element is hidden in the 3D view)
  4. Try to click again on the eye icon -> no effect, neither in the 3D view, nor in the state of the eye icon

(see video in attachment)

Package
This happens in "@itwin/tree-widget-react": "4.0.0-alpha.27" but had already been seen in previous alpha versions

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the applicable information):

  • OS: macOS (but it has been reported in an Electron app running on Windows too)
  • Browser: Chromium engine
  • Version: 147.0.7727.56
  • iTwin.js Version 5.8.0
tree-visibility-issue.mp4

Metadata

Metadata

Assignees

Labels

tree widgetTree widget or its components related issues

Type

No fields configured for Bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions