only rely on inputevent for chrome & FF