FIX: Don't crash the browser when tapping autocomplete suggestions on Android/Gboard (PR #15076)

This is a workaround for an annoying bug that crashes the browser when an autocomplete suggestion is selected on Android if the virtual keyboard is Gboard. It’s specific to Gboard because it sometimes sends keydown and keyup events twice for a single key press, more details can be found here: Emoji selector crashes the message editor in Android / Chrome - #24 by Osama - bug - Discourse Meta.