Close keyboard by tapping or swiping

Expected behavior

Close the keyboard by tapping the chat once or swiping down.
Like in Telegram and Whatsapp for example.

Actual behavior

The keyboard can only be closed by swiping down.

Explanation

Some prefer one method, some the other.
In my opinion, tapping feels a bit faster.
I think it would be good if users could choose between both methods.