diff --git a/CHANGELOG.md b/CHANGELOG.md index e82da0f1..19776e4f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed - MongoDB `authSource` defaults to database name per MongoDB URI spec instead of always "admin" + +### Fixed + +- Onboarding "Get Started" button not rendering on macOS 15 until window loses focus (#420) - MongoDB collection loading uses `estimatedDocumentCount` and smaller schema sample for faster sidebar population ## [0.22.1] - 2026-03-22 diff --git a/TablePro/Views/Connection/OnboardingContentView.swift b/TablePro/Views/Connection/OnboardingContentView.swift index dd465c27..7ad88caa 100644 --- a/TablePro/Views/Connection/OnboardingContentView.swift +++ b/TablePro/Views/Connection/OnboardingContentView.swift @@ -184,6 +184,7 @@ struct OnboardingContentView: View { .buttonStyle(.plain) .foregroundStyle(.secondary) .opacity(currentPage == 2 ? 0 : 1) + .frame(minWidth: 110, alignment: .leading) Spacer() @@ -200,23 +201,25 @@ struct OnboardingContentView: View { Spacer() - Group { + ZStack { if currentPage < 2 { Button("Continue") { goToPage(currentPage + 1) } .buttonStyle(.borderedProminent) .controlSize(.large) + .transition(.opacity) } else { Button("Get Started") { completeOnboarding() } .buttonStyle(.borderedProminent) .controlSize(.large) - .transition(.scale.combined(with: .opacity)) + .transition(.opacity) } } - .animation(.easeInOut(duration: 0.35), value: currentPage) + .animation(.easeInOut(duration: 0.25), value: currentPage) + .frame(minWidth: 110, alignment: .trailing) } .padding(.horizontal, ThemeEngine.shared.activeTheme.spacing.xl) .padding(.bottom, ThemeEngine.shared.activeTheme.spacing.lg)