fix(tap): only check classList on tap target if it has classList

Closes #1677