jquery-ui icon indicating copy to clipboard operation
jquery-ui copied to clipboard

position() method positions an element covering the target element at the first time

Open javaone199 opened this issue 2 years ago • 3 comments

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.

javaone199 avatar May 25 '22 16:05 javaone199

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?

mgol avatar May 25 '22 17:05 mgol

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.

javaone199 avatar May 27 '22 11:05 javaone199

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.

mgol avatar Jun 01 '22 13:06 mgol