nalexn / clean-architecture-swiftui

SwiftUI sample app using Clean Architecture. Examples of working with CoreData persistence, networking, dependency injection, unit testing, and more.
MIT License
5.74k stars 698 forks source link

Improper view layout after swiping to navigate back to search result #15

Open xinhuang327 opened 4 years ago

xinhuang327 commented 4 years ago

I found that after swiping to navigate back in detail view to search result (with soft keyboard) will lead to improper layout, check the screenshot below: IMG_2351

I wonder if it's another bug in SwiftUI or not good integration of SearchBar.

Thanks, love this amazing cleaner architecture.

nalexn commented 4 years ago

Hm, an interesting bug. I've tried to replicate it with no luck. Glitches in the navigation bar are unfortunately quite common in SwiftUI, but you're right, search bar might also be causing it.