paescebu / CustomKeyboardKit

Creating custom In App Keyboards with SwiftUI has never been easier!
GNU General Public License v3.0
203 stars 20 forks source link

Bugfix/issue 25 conditionally revealed textfields wont pickup custom keyboard #26

Closed paescebu closed 1 month ago

paescebu commented 1 month ago

This PR also changes the solution which fixed https://github.com/paescebu/CustomKeyboardKit/issues/2. Reason being, i wanted a solution which allows us to declare a constant keyboard object again, instead of computed property which recreated a new object every single time it was called.

The new approach will simply assign the submit closure to the keyboard based on the closure passed for the appropriate active textfield.