iTwin / appui

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

Fix `useActiveViewport` to correctly return the active viewport #966

Closed GerardasB closed 1 month ago

GerardasB commented 1 month ago

Changes

This PR fixes #963 by correctly syncing with the static view manager store.

Testing

Added additional unit test

GerardasB commented 1 month ago

@Mergifyio backport release/4.16.x

mergify[bot] commented 1 month ago

backport release/4.16.x

✅ Backports have been created

* [#969 Fix `useActiveViewport` to correctly return the active viewport (backport #966)](https://github.com/iTwin/appui/pull/969) has been created for branch `release/4.16.x`