mirror of
https://github.com/Ryujinx/SDL.git
synced 2024-12-23 04:15:30 +00:00
Fixed bug 3305 - Fixed TextInput status when the keyboard was dismissed with the dismiss key on the iPad
Diego The keyboard on iPads has a dismiss button that hides the keyboard. When the keyboard was hidden using that button, instead of the return key, SDL was still reporting IsTextInputActive as true. This patch adds an extra SDL_StopTextInput when iOS reports the keyboard will hide.
This commit is contained in:
parent
c3e48e71b4
commit
765d8bea01
|
@ -251,6 +251,7 @@ SDL_AppleTVControllerUIHintChanged(void *userdata, const char *name, const char
|
|||
|
||||
- (void)keyboardWillHide:(NSNotification *)notification
|
||||
{
|
||||
SDL_StopTextInput();
|
||||
[self setKeyboardHeight:0];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue