We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3ac5ee3 + 8da8679 commit 7240743Copy full SHA for 7240743
Sources/PulseUI/Features/Console/List/ConsoleListContentView.swift
@@ -89,7 +89,9 @@ struct ConsoleListContentView: View {
89
#if os(macOS)
90
private func registerNowMode<T: View>(for list: T) -> some View {
91
list.onChange(of: viewModel.entities) { entities in
92
- guard isNowEnabled else { return }
+ /// From empty to 1 causes a bug on macOS where the first cell falls behind the overflow.
93
+ /// Check for count == 1 to always animate to the first inserted item.
94
+ guard isNowEnabled || entities.count == 1 else { return }
95
96
withAnimation {
97
proxy.scrollTo(BottomViewID(), anchor: .top)
0 commit comments