Skip to content

Commit

Permalink
Fix tabbar avoiding keyboard
Browse files Browse the repository at this point in the history
  • Loading branch information
Dimillian committed Nov 22, 2024
1 parent 63ea4ae commit 6a73472
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion App/IcySkyApp.swift
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ struct IcySkyApp: App {
isAUthPresented = true
}
}
.ignoresSafeArea(.keyboard, edges: .all)
.scrollDisabled(router.selectedTabPath.isEmpty == false)
.scrollTargetBehavior(.viewAligned)
.scrollPosition(id: $router.selectedTab)
Expand Down Expand Up @@ -86,10 +85,12 @@ struct IcySkyApp: App {
if client != nil {
TabBarView()
.environment(router)
.ignoresSafeArea(.keyboard)
}
}
}
)
.ignoresSafeArea(.keyboard, edges: .all)
}
}

Expand Down

0 comments on commit 6a73472

Please sign in to comment.