Skip to main content

Search and Top Navigation

#15090 open bug ()

Opened November 01, 2016 12:52PM UTC

Last modified November 02, 2016 07:06PM UTC

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

Reported by: gaurav21r 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:

[[Image(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 :)

Attachments (0)
Change History (1)

Changed November 02, 2016 07:06PM UTC by scottgonzalez comment:1

status: newopen

Go ahead and submit your PR :-)