iTwin / appui

Monorepo for iTwin.js AppUi
MIT License
8 stars 2 forks source link

UiFramework.frontstages.onWidgetStateChangedEvent is not being fired after widget has been hidden #522

Closed GintV closed 11 months ago

GintV commented 11 months ago

Describe the bug UiFramework.frontstages.onWidgetStateChangedEvent is not being fired after widget has been hidden. Appeared after appui update from 4.5.1 to 4.6.0

To Reproduce Steps to reproduce the behavior:

  1. Setup frontstage with a single widget that's opened by default
  2. Hide widget by calling widgetDef.setWidgetState(WidgetState.Hidden)

Expected behavior Widget is hidden and UiFramework.frontstages.onWidgetStateChangedEvent fired

Actual behavior Widget is hidden butUiFramework.frontstages.onWidgetStateChangedEvent IS NOT fired

Desktop (please complete the applicable information):

raplemie commented 11 months ago

Hi @GintV, a fix for this issue was released today in 4.6.1, let us know if it fixes your issue!

GintV commented 10 months ago

Issue seems to be fixed, thanks!