Forked from  https://github.com/component/tap-event