jquery-ui
jquery-ui copied to clipboard
position() method positions an element covering the target element at the first time
Trying to show tooltip for an input field on focus. position() method positions the tooltip(position: absolute) partially covering the target input field at the first time.
my: left at: right collision: flipfit
It positions correctly the 2nd time when the input field on focus.
Thanks for the report. Does the issue you describe exist when jQuery UI 1.12.1 is used or only with jQuery UI 1.13.0 or newer?
It is 1.13.0. I have not tried the older version. Another issue found today. It did not work inside a positioned container with overflow auto. The element to be positioned will show within the container and only partially visible causing horizontal scroll bar of the container to show up. Ideally make it narrower without horizontal scroll to see the tooltip.
Please check if the issue still exists on 1.12.1 and report back here. Also, we need a live test case on a platform like JS Bin, not just a textual description.