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

Move keyboard down with drag #667

@Rovalx

Description

@Rovalx

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions