Dropdown: ignore keydown events coming from `input`s and `textarea`s

Fixes #15084.

/cc @cvrebert