Tiny adjust for text input.
Rewrite the judgment of select text for text-auto-input.