move cursor to end in share input