fix: keypress not working with webkit