Skip to content

Comments

Use placeholder text to calculate minimum autosize width (if it is present)#23

Open
tonycurwen wants to merge 1 commit intoMartinF:masterfrom
tonycurwen:master
Open

Use placeholder text to calculate minimum autosize width (if it is present)#23
tonycurwen wants to merge 1 commit intoMartinF:masterfrom
tonycurwen:master

Conversation

@tonycurwen
Copy link

Use case for me was a user deleting input element content that was narrower than the placeholder text. This resulted in the autosize truncating the placeholder text. The proposed change simply uses any provided placeholder attribute text as the default value if the input element is empty.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant