-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
KeyBoard reset? #17
Comments
In other words is there some command that I can use to clear the Keyboard
|
only this issue keeping me away using this control. |
I just copy this method to .h file.... - (void)_updateInputViewFrameWithKeyboardFrame:(CGRect)keyboardFrame
forceReload:(BOOL)reload; Use like this works for me. [self.inputBar _updateInputViewFrameWithKeyboardFrame:CGRectZero
forceReload:NO]; |
The method @albertgh mentioned is correct. but before call that method you should also set |
I'm using the RDRStickyKeyboard to post comments, but I'm encountering a problem where after I submit the first comment the input view still retains its shape (if the text inputted 2 lines more), so it is messed up for the next comment. Is there any method I can call to fully "reset" the input view. As in clear it out completely.
You can see what I'm talking about in the readMe GIF, when the keyboard retracts down it retains its larger shape.
I've tried
self.contentWrapper.inputView.textView.text = nil;
but that just clears the text, and doesn't make the keyboard one line
The text was updated successfully, but these errors were encountered: