Skip to content
This repository has been archived by the owner on Aug 14, 2019. It is now read-only.

Copying message dismisses keyboard #254

Closed
Antairez opened this issue Apr 30, 2014 · 3 comments
Closed

Copying message dismisses keyboard #254

Antairez opened this issue Apr 30, 2014 · 3 comments
Labels

Comments

@Antairez
Copy link

While the keyboard is still up, clicking on any message (to copy) would close the keyboard.

AKA when the keyboard is up users can't copy any message.

Steps to reproduce:
1. Bring up the keyboard
2. Try to copy any message

@jessesquires
Copy link
Owner

hey @Antairez - another known issue, though minor. (I edited your comment above. 😄 )

you can still copy a message.

  1. the keyboard will dismiss, tap and hold message again.
  2. select copy
  3. tap inputToolbar to bring up keyboard
  4. paste

The problem here is that the cell becomes the first responder. I'm not sure how to fix this yet.

@jessesquires jessesquires changed the title Bug when user click on message Copying message dismisses keyboard Apr 30, 2014
@Antairez
Copy link
Author

Thanks @jessesquires, I will try to investigate the problem and see if I can come out with anything.

@mrojas
Copy link

mrojas commented Apr 30, 2014

I believe the solution involves overriding the next responder in the text view when the menu is displayed. So, listening for UIMenuControllerDidShowMenuNotification and UIMenuControllerDidHideMenuNotification and setting the next responder to nil (in the text view) when the menu is displayed. I'll look for the code and add it to this project, I did it sometime ago but can't really remember where.

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

No branches or pull requests

3 participants