Don't react to keyboard events when the focus is on editable inputs

Don't pan or zoom when the focus is on an editable inputs (`input`, `select` or `textarea`)