Skip to content
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

Make KeyboardManager public #1785

Open
arguiot opened this issue Mar 28, 2023 · 0 comments
Open

Make KeyboardManager public #1785

arguiot opened this issue Mar 28, 2023 · 0 comments

Comments

@arguiot
Copy link

arguiot commented Mar 28, 2023

Hello, would it be possible to make the KeyboardManager public? Many people are complaining in the issues with bottom space and how to handle it: #1779. I had this issue personally, and the only way I fixed it was by accessing the keyboardManager object and rebind the inputAccessory like this:

keyboardManager.bind(inputAccessoryView: inputContainerView) { -50 }
keyboardManager.shouldApplyAdditionBottomSpaceToInteractiveDismissal = true

The problem is that to achieve this, you necessarily need to import MessageKit this way:

@testable import MessageKit

Which is not super nice...

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

No branches or pull requests

1 participant