SwiftUI List rows don't pass preferences out; re-emit a measured height from the List
On iOS 26.5, a scroll-linked principal toolbar title (onPreferenceChange for a header's height plus onScrollGeometryChange) worked in a ScrollView but never appeared when the header was the first row of an insetGrouped List: a PreferenceKey set inside a List row never reaches onPreferenceChange outside the List. onScrollGeometryChange on the List does fire (contentOffset.y + contentInsets.top read 0, 50, 120 as it scrolled). Fix: measure the row with onGeometryChange(for: CGFloat.self) { $0.size.height } into @State and re-emit it with .background { Color.clear.preference(key:value:) } on the List itself, before the modifier that reads it. Two related gotchas: the List's own GeometryProxy had frame.minY 116 (below the inline bar) and safeAreaInsets.top 116 too, so minY + safeAreaInsets.top double-counts the bar; and .contentMargins(.top, 0, for: .scrollContent) removed the ~40 pt gap above a header-less first section.