I am trying to fix a bug where voiceover in accessibility is dismissing the keyboard when I am trying to search through a long tableview. Is there a way to jump directly to the keyboard when the keyboard shows up?
Related
Snapchat's keyboard behavior works differently than any other keyboard I have seen. When a user drags on the input bar, it scrolls up or down with the drag.
How do they do this? It's unclear how they are able to even access the keyboard frame.
Link to video of the behavior:
https://imgur.com/a/MmqonNB
If you focus a TextField the system overlays will accompany the onscreen keyboard despite calling SystemChrome.setEnabledSystemUIOverlays([]) before and immediately after the focus change happened. Any way to change that?
For Clarity: I am referring to the onscreen bottom navigation bar that is provided by android when phones have no physical buttons. In flutter, when you tap on a textfield, the onscreen keyboard comes up, and with it this navigation bar is being forced in. I'd like to hide it, because it's sometimes unnecessary.
AFAIK, You can't hide it. This is the default system behavior (you can't change it) to show the navigation bar when on screen keyboard is visible to the user.
It is provided so that the user can press the back button from the navigation bar in order to hide the Keyboard. So, it will stay there forever as long as keyboard is visible to the user.
In my messaging app I have HPGrowingTextView at the bottom and UITableview covering rest of the the view to show messages. When user tap on HPGrowingTextView I resize the UITableview and slide up the HPGrowingTextView so nothing hides behind keyboard.
But when user perform long press gesture on HPGrowingTextView everything works same but paste menu appears and then disappear.
How can I control the disappearing of paste menu.
I have an iPhone app that has a "contact picker" using a table view. If my "recipient" field is active and the keyboard is shown, then the device is rotated, the keyboard dismisses itself automatically.
How can I disable this functionality?
Turns out, my TokenView was reloading on rotation and not re-setting the firstResponder to it's textView, which caused the keyboard to hide.
Fixed the issue by adding a line to set the first responder to the TokenView's UITextView in it's 'reloadData' function.
Newbie alert...
I'm updating some code that has a UITextField with a keyboardType of UIKeyboardTypeNumberPad. In the view, which is in a UIScrollView, there is also a save and cancel button below the textfield. When you tap the textfield, the cancel button is not visible and you cannot scroll to it.
Is there a typical approach for this scenario to make the cancel button accessible when the keyboard pops up?
Is the idea to just manually increase the UIScrollView content size when the keyboard displays and then decrease it when it is dismissed or is there a simpler way of achieving this?