HTML5-placeholder-polyfill
HTML5-placeholder-polyfill copied to clipboard
Placeholder positions not updating in Firefox 18
I was encountering an issue with an automatic resizing text box which would push the inputs below it down. On a seemingly random basis, the placeholder of an input below the auto-resizing input would not update (e.g. wouldn't move down). Adding the code below on line 165 seemed to fix the issue.
$('input').on("resize", function() {
positionPlaceholder(placeholder,input);
});
Screenshot of the problem:
good find! what did you use to make the input auto resizing? thanks :-)
I believe we wrote our own custom jQuery plugin. At one point, we were using some other plugin, but it wasn't suiting our needs very well, so we switched away from it. I'm not exactly sure what we did, I'll have to get back to you on that. Have an excellent weekend!
Hey, sorry I didn't get back sooner, I've been really busy. We use the jQuery.autoresize plugin (Google should bring up a result for it) although we've encountered more issues with it recently. We will hopefully be contributing those issues back to the repo, although it looks like it hasn't been updated in awhile.
thanks Jesse