add some strategies to handle when input is invisible