This question is locked. New answers and comments are not allowed.
The span generated around autocomplete inputs, includes an extra style="width: 100%" which makes the render different for JSP wrapper than for HTML.
This is the HTML generated for JSP
and this for traditional HTML/JavaScript:
Where we can see that for JSP wrapper the span includes the extra value in style attribute
This is the HTML generated for JSP
<span tabindex="-1" role="presentation" style="width: 100%;" class="k-widget k-autocomplete k-header k-state-default k-input"><input id="beer" name="beer" data-role="autocomplete" placeholder="beer name" style="width: 100%;" type="text" class="k-input" autocomplete="off" role="textbox" aria-haspopup="true" aria-disabled="false" aria-owns="beer_listbox" aria-autocomplete="both"></span><span tabindex="-1" role="presentation" style="" class="k-widget k-autocomplete k-header k-state-default"><input id="beer" data-role="autocomplete" placeholder="beer name" style="width: 100%;" type="text" class="k-input" autocomplete="off" role="textbox" aria-haspopup="true" aria-disabled="false" aria-owns="beer_listbox" aria-autocomplete="both"></span>