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

Do not delete on focus but on start of typing #92

Open
goranefbl opened this issue Sep 6, 2012 · 16 comments
Open

Do not delete on focus but on start of typing #92

goranefbl opened this issue Sep 6, 2012 · 16 comments
Labels

Comments

@goranefbl
Copy link

Great script, thank you for this.

Because of auto focus on start, its important for me not to delete placeholder before starting with typing. Is it possible to rewrite it to delete placeholder on type instead focus ?

Thanks again,

great script.

@trisweb
Copy link

trisweb commented Oct 17, 2012

+1 to this.

Note that it's now the default behavior of Firefox & Chrome with the HTML5 placeholder attribute. I think this plugin should, if possible, have the same behavior as it's much more usable.

@troygnichols
Copy link

Agreed! I would also like it better if it worked that way.

@agos
Copy link

agos commented Nov 30, 2012

Seconding this, since behaviour consistency should be a primary interest for a polyfill

@jpmcgrath
Copy link

+1 from me as well.

@alexcroox
Copy link

+1

1 similar comment
@onlyurei
Copy link

+1

@vitalets
Copy link

really required feature!
+1

@lumpynifkin
Copy link

+1 any hope of this happening?

@wub
Copy link

wub commented Mar 20, 2013

In the pipeline - #120

@krmcbride
Copy link

👍

@xorcus
Copy link

xorcus commented Jan 27, 2014

+1, feature still needed! :)

mlms13 added a commit to mlms13/jquery-placeholder that referenced this issue May 23, 2014
To trigger the feature, call the placeholder plugin with an object that
sets a preserveOnFocus property to true.  Real documentation coming
after I fix a couple issues with cursor placement.
@mlms13
Copy link

mlms13 commented May 23, 2014

No idea if this will get merged, but I think I have a pretty solid implementation in my preserve-on-focus branch. Hope this helps those of you who are looking for something similar.

@gudmundurmar
Copy link

Was anything similar to @mlms13 fork added to this library? Why was it closed and not merged?

@mlms13
Copy link

mlms13 commented Jun 1, 2016

@gudmundurmar I don't think it was ever merged. When they changed the default branch from master to gh-pages all of the PRs against the master branch were automatically closed.

The PR was open for about a year, but it was kind of a lot of work to keep it up-to-date with master, so eventually I stopped maintaining my fork. The PR is here if anyone else wants to tackle it: #209

@Guillotine17
Copy link

+1

1 similar comment
@valeriya9292
Copy link

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests