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

Possible bug with keyboard... #101

Open
DevStreamLine opened this issue Jul 6, 2021 · 1 comment
Open

Possible bug with keyboard... #101

DevStreamLine opened this issue Jul 6, 2021 · 1 comment

Comments

@DevStreamLine
Copy link

Hello,

I have noticed that if I have the add text icon enabled and I tap on the 'T' to add text. It works fine, but when the keyboard appears you can type and then tap the hide keyboard button on the keyboard. When that action is performed the keyboard disappears and the image editing controls re-appear. When this happenens the Done button is hidden and you can not do anything because it think you are still in text edit mode.

The only fix is to tap the edit set 'T' icon again but that is not very user friendly.

So, is it possible to change the keyboard so the hide button is gone, or not have the edit controls hide the done button?

@AlexisLampouridis
Copy link

AlexisLampouridis commented Jul 20, 2021

I found a solution to remove "Done" button from keyboard, using the package IQKeyboardManagerSwift

pod 'IQKeyboardManagerSwift', '~> 6.5'

Initialize those settings at AppDelegate.swift

IQKeyboardManager.shared.enable = true
IQKeyboardManager.shared.shouldResignOnTouchOutside = false
IQKeyboardManager.shared.disabledToolbarClasses.append(PhotoEditorViewController.self)

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

No branches or pull requests

2 participants