Opened 3 years ago

Last modified 3 years ago

#15090 open bug

Bug: Selectable's ui-selectable-helper is wrongly placed when appendTo element is absolutely positioned

Reported by: Gaurav Ramanan Owned by:
Priority: minor Milestone: none
Component: ui.selectable Version: 1.12.1
Keywords: Cc:
Blocked by: Blocking:

Description

The appendTo option http://api.jqueryui.com/selectable/#option-appendTo is used to append the ui-selectable-helper lasso to an element apart from the default <body>.

When the appendTo element is absolutely poistioned, the ui-selectable-helper does not align correctly with the mouse. Here is a demo:

https://cloud.githubusercontent.com/assets/1716462/19890222/58ecd52a-a05f-11e6-9620-d9c1dcc41305.gif

You can see a reproduction of the abve here: http://jsbin.com/ficopubahi/edit?css,output

The fix is relatively straightforward and if a go ahead is given by the core team, I'd like to submit my FIRST Pull Request for jQuery :)

Change History (1)

comment:1 Changed 3 years ago by Scott González

Status: newopen

Go ahead and submit your PR :-)

Note: See TracTickets for help on using tickets.