Skip to content

Commit 842e1fe

Browse files
authored
fix: onboarding button not rendering on macOS 15 (#420) (#426)
* fix: onboarding button not rendering on macOS 15 (#420) * fix: clean up CHANGELOG to only include onboarding fix entry
1 parent d335145 commit 842e1fe

2 files changed

Lines changed: 10 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1515
### Changed
1616

1717
- MongoDB `authSource` defaults to database name per MongoDB URI spec instead of always "admin"
18+
19+
### Fixed
20+
21+
- Onboarding "Get Started" button not rendering on macOS 15 until window loses focus (#420)
1822
- MongoDB collection loading uses `estimatedDocumentCount` and smaller schema sample for faster sidebar population
1923

2024
## [0.22.1] - 2026-03-22

TablePro/Views/Connection/OnboardingContentView.swift

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,7 @@ struct OnboardingContentView: View {
184184
.buttonStyle(.plain)
185185
.foregroundStyle(.secondary)
186186
.opacity(currentPage == 2 ? 0 : 1)
187+
.frame(minWidth: 110, alignment: .leading)
187188

188189
Spacer()
189190

@@ -200,23 +201,25 @@ struct OnboardingContentView: View {
200201

201202
Spacer()
202203

203-
Group {
204+
ZStack {
204205
if currentPage < 2 {
205206
Button("Continue") {
206207
goToPage(currentPage + 1)
207208
}
208209
.buttonStyle(.borderedProminent)
209210
.controlSize(.large)
211+
.transition(.opacity)
210212
} else {
211213
Button("Get Started") {
212214
completeOnboarding()
213215
}
214216
.buttonStyle(.borderedProminent)
215217
.controlSize(.large)
216-
.transition(.scale.combined(with: .opacity))
218+
.transition(.opacity)
217219
}
218220
}
219-
.animation(.easeInOut(duration: 0.35), value: currentPage)
221+
.animation(.easeInOut(duration: 0.25), value: currentPage)
222+
.frame(minWidth: 110, alignment: .trailing)
220223
}
221224
.padding(.horizontal, ThemeEngine.shared.activeTheme.spacing.xl)
222225
.padding(.bottom, ThemeEngine.shared.activeTheme.spacing.lg)

0 commit comments

Comments
 (0)