If tokenfield is used inside flex container, input field incorrectly calculates the width and resolves when input is clicked or window is resized - link to video.
The difference is around 3-4px, as a result input field is wider than container and it's displayed on the second line