jquery-tokeninput
jquery-tokeninput copied to clipboard
Grow input after last token is deleted so placeholder can be seen
The problem this pull request fixes (obscured placeholder) is demonstrated here: http://jsfiddle.net/RVnkG/1/
The fix is demonstrated here: http://jsfiddle.net/yZtws/1/
Please update your demo! some links are broken.
Updated.
Note that this pull request was prepared back in May 2013. Pull request #531 was prepared afterwards to address the same problem (but not as well), and it was merged, perhaps because it was one line instead of three. It reserves space for the placeholder text even when the placeholder text is not being shown. In this fiddle, which includes the fix from #531, notice how the input field wraps prematurely as you add items.
I recommend reverting #531 and merging this pull request instead. Up to you.
You can do a merge reversing this, please!
*Pull-request
Updated this pull request to also revert #531.