Skip to content

1.4.5

Choose a tag to compare

@97chos 97chos released this 15 Sep 02:46
· 2 commits to main since this release

Summary

This release fixes a bug where TabLinkNavigationView rebuilt the entire tab navigation on every SwiftUI update.

What's Changed

  • updateUIViewController called launch(tagItemList:) unconditionally, recreating each tab's TabPartialNavigator, UINavigationController and root page on every invocation. Since SwiftUI may call it whenever the parent body is re-evaluated, navigation performed through replace was rolled back to tabItemList and pages were re-instantiated with fresh state
  • The tab navigation is now rebuilt only when the routing-relevant values (tag, linkItem, prefersLargeTitles) actually change, tracked through the representable's coordinator
  • UITabBarItem is excluded from that comparison because it is typically recreated on every update; tab bar items are applied without touching the navigation stack
  • tabBar.isHidden is assigned only when the value actually differs