Skip to content
Advertisement

jQuery UI upgrade creates tooltip position problem. Is there any problem with .position() in jQuery 1.12.1

I have recently upgraded jQuery Ui from 1.10.1 to 1.12.1 and it changes my tooltip placement. IT use to place at left bottom of the element but now after upgrade it appears at left top. Any reason? Is position() in jQuery changed?

It works fine when I use .position() function from older version (1.10.4). Is it fine to have jquery ui 1.12.1 with a .position() function override?

Advertisement

Answer

Latest jQuery has .position() function definition is changed. So I have managed to position the tooltip using position configuration while using rendering Tooltip(…,position,…);

Advertisement