Post

Replies

Boosts

Views

Activity

Reply to SwiftUI - Placing ToolbarItem on .keyboard does not work
ToolbarItem placement .keyboard for UITextView is not working. I had it in .bottombar and was working but now when keyboard appears the toolbar at the bottom disappears. So it does not work for both .bottombar and .keyboard for UITextView. .keyboard should work even for UITextView-UIRepresentableView as under the hood UIKit detects becomeFirstResonder(). So no idea why it is suddenly not working. So the only option is to use the input accessory view or have your own custom toolbar at the bottom which feels like back to beginning of SwiftUI.
Aug ’24