SwiftUI Keyboard Issue Inside TabView

Hello Everyone,

I am facing an issue with latest Xcode 12 release.

I have a TabView and inside that 4 Views attached. Now whenever, keyboard appears on any view SwiftUI calls onAppear of other 3 views.

However, the same code works fine in Xcode 11.7

For more information, You can refer to this links where I have provided sample code to test it.
https://stackoverflow.com/questions/63955922/keyboard-calls-onappear-of-other-views-in-tabbar-swiftui-2-0

https://stackoverflow.com/questions/64027482/onappear-calls-unexpectedly-when-keyboard-appears-in-swiftui

Any help will be appreciated.

Thanks
i am having the exact same issue. Any help would be appreciated. This is a huge issue in my project as it triggers the camera on the second TabView.
Same issue! LazyStack is not a variant for me as I need to support 13.x
SwiftUI Keyboard Issue Inside TabView
 
 
Q