Use input event for more responsive changes