You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The refresh() method does not realign the tooltip when the dimensions of the element being tooltipp-ed change.
To demonstrate, go to http://heelhook.github.io/chardin.js/, change the height of the image to 100 pixels, then resize the browser to trigger chardinJs.refresh() . The bounding box will be redrawn, but the tooltip will not be relocated.
To correct, I added "this._place_tooltip(el);" to line 50, within the resize() method after the call to _position_helper_layer(),of the latest rendered JavaScript file. I apologize that I am not good enough at GitHub or CoffeeScript to submit a pull request.
The refresh() method does not realign the tooltip when the dimensions of the element being tooltipp-ed change.
To demonstrate, go to http://heelhook.github.io/chardin.js/, change the height of the image to 100 pixels, then resize the browser to trigger chardinJs.refresh() . The bounding box will be redrawn, but the tooltip will not be relocated.
To correct, I added "this._place_tooltip(el);" to line 50, within the resize() method after the call to _position_helper_layer(),of the latest rendered JavaScript file. I apologize that I am not good enough at GitHub or CoffeeScript to submit a pull request.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: