Skip to content
This repository has been archived by the owner on Oct 30, 2018. It is now read-only.

Move keyboard down with drag #667

Open
Rovalx opened this issue Apr 19, 2018 · 1 comment
Open

Move keyboard down with drag #667

Rovalx opened this issue Apr 19, 2018 · 1 comment

Comments

@Rovalx
Copy link

Rovalx commented Apr 19, 2018

I'm trying to achive keyboard behaviour when it is going down when dragging down just like iMessage does. I checked example projects but I can't make it work - even so GIF on README shows it is possible.

Unfortunately, having keyboardDismissMode as .interactive makes keyboard move but toolbar with textView stays in the same position.
tableView?.keyboardDismissMode = .interactive

From the other hand, isKeyboardPanningEnabled is set to true but it dosen't do anything, because, from what I understand, it won't work above iOS 9. The problem is here, in SlackTextViewController.m, method - (void)slk_handlePanGestureRecognizer:(UIPanGestureRecognizer *)gesture, where we can't access keyboardView - the property is nil.

Is there any option to do it within SlackTextViewController?

@fadizant
Copy link

+1

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants