Enter BasicExampleView than tap TextView, wait til keyboard shows up, than tap navigation back, observe the UI closely, you will find the whole view including navigation bar was shaking slightly while popping.
I have found the cause was the code below, but didn't find a solution yet.
Binding<NSAttributedString>( get: { NSAttributedString( string: self.message, attributes: [ NSAttributedString.Key.font: UIFont.preferredFont(forTextStyle: .body), NSAttributedString.Key.foregroundColor: UIColor.label, ] ) }, set: { self.message = $0.string } )
Enter BasicExampleView than tap TextView, wait til keyboard shows up, than tap navigation back, observe the UI closely, you will find the whole view including navigation bar was shaking slightly while popping. I have found the cause was the code below, but didn't find a solution yet.
Binding<NSAttributedString>( get: { NSAttributedString( string: self.message, attributes: [ NSAttributedString.Key.font: UIFont.preferredFont(forTextStyle: .body), NSAttributedString.Key.foregroundColor: UIColor.label, ] ) }, set: { self.message = $0.string } )