GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Keyboard handlers within message kit · Issue #31 · MessageKit/MessageInputBar

Keyboard handlers within message kit #31

New issue
Copy link
New issue
Copy link
Open
Open
Keyboard handlers within message kit#31
Copy link

Description

@LincolnDickerson
LincolnDickerson
opened on Mar 4, 2020
Issue body actions

I have a chat view embedded with in my app hooked up to firebase. Works great. Thank you.

The issue I am having is the client wants the input for the chat to be about mid screen.

I have hidden the input bar accessory because there seems to be no way to embed it in the mid screen view with the chat. It that is possible let me know.

Currently when the keyboard appears for my text field it covers the text field.

Is there anyway to turn off the keyboard handlers in MessageKit. I have my own and the are working it just the ones in MessageKit are taking precedence.

The attached is a mock of the issue. Actual app under NDA... but the its the same issue

Simulator Screen Shot - iPhone 11 Pro Max - 2020-03-04 at 06 18 25
Simulator Screen Shot - iPhone 11 Pro Max - 2020-03-04 at 06 18 34

Activity

  1. devang-lakhani25 commented on Mar 5, 2021

    @devang-lakhani25
    devang-lakhani25
    on Mar 5, 2021
    More actions

    Hey @LincolnDickerson
    it is simple to hide keyboard

    func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {
        if self.messageInputBar.inputTextView.becomeFirstResponder(){
            self.messageInputBar.inputTextView.resignFirstResponder()
        }
    }
    
  2. devang-lakhani25 commented on Mar 5, 2021

    @devang-lakhani25
    devang-lakhani25
    on Mar 5, 2021
    More actions

    if you want hide keyboardHandler then self.messageInputBar.inputTextView.isHidden = true

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.