I'm using this plugin inside a bootstrap modal with fixed width for tagging purposes.
sometimes when I add tags with a long text (larger than width of current line) it gets added after the input box and input box stays at previous position.
refer image for better explanation.

How can I make the input box always stick to the bottom i.e. after last tag.
here's the html for input box:
<div data-role="selected-list"> <input data-role="input" id="input-box" type="text" placeholder="Tag..." /> <span id="validation-field"></span> </div>
I'm using this plugin inside a bootstrap modal with fixed width for tagging purposes.

sometimes when I add tags with a long text (larger than width of current line) it gets added after the input box and input box stays at previous position.
refer image for better explanation.
How can I make the input box always stick to the bottom i.e. after last tag.
here's the html for input box:
<div data-role="selected-list"> <input data-role="input" id="input-box" type="text" placeholder="Tag..." /> <span id="validation-field"></span> </div>