Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Toggle placeholder directly rather than using focus event #13

Merged
merged 1 commit into from
Dec 3, 2013

Conversation

grahamcarlyle
Copy link

Extract function to toggle placeholder explicitly rather than generating a focus event for toggle which may have other unwanted consequences.

Using focus can interfere with other controls that rely on that event. e.g. a date-picker popup on focus could be triggered unintentionally.

…ing a focus event for toggle which may have other unwanted consequences
@dominikwilkowski
Copy link

This fixed a bunch of my problems! Thanks Graham

thisandagain added a commit that referenced this pull request Dec 3, 2013
Toggle placeholder directly rather than using focus event
@thisandagain thisandagain merged commit afee802 into diy:master Dec 3, 2013
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.

3 participants