Hi,
Thank you for an awesome plugin.
I figured a bug in your plugin that the dropdown will stay out of the input field if there is a width limit to the wrapper and the input text is longer than that width limit.

I edit the calculateWidthForText() function in your code.
Instead of returning the actual spacer
return spacer.getBoundingClientRect().right;
the function will return the wrapper width if the spacer right exceeds the width
if (spacer.getBoundingClientRect().right > wrapper.getBoundingClientRect().width)
return wrapper.getBoundingClientRect().width;
else
return spacer.getBoundingClientRect().right;
Hi,
Thank you for an awesome plugin.

I figured a bug in your plugin that the dropdown will stay out of the input field if there is a width limit to the wrapper and the input text is longer than that width limit.
I edit the
calculateWidthForText()function in your code.Instead of returning the actual spacer
the function will return the wrapper width if the spacer right exceeds the width