jquery-tokeninput icon indicating copy to clipboard operation
jquery-tokeninput copied to clipboard

Grow input after last token is deleted so placeholder can be seen

Open 2is10 opened this issue 11 years ago • 5 comments

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/

2is10 avatar May 10 '13 19:05 2is10

Please update your demo! some links are broken.

hugohenrique avatar Feb 15 '14 02:02 hugohenrique

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.

2is10 avatar Feb 17 '14 05:02 2is10

You can do a merge reversing this, please!

hugohenrique avatar Feb 21 '14 16:02 hugohenrique

*Pull-request

hugohenrique avatar Feb 21 '14 16:02 hugohenrique

Updated this pull request to also revert #531.

2is10 avatar Mar 03 '14 17:03 2is10