New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Passed dropdown parent shall be wrapped in $() #5373
Conversation
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
ehm...is there anything holding this one that I shall fix? I kind of rely on it and it has a test. |
I know it's been a few months and we dropped the ball on this one, but this generally looks good and it's my goal to get it merged in. But before we do that, is there any chance you can split your test changes out so we have two different tests? One for passing in a jQuery object and the other for passing in the selector. |
I made a separate test case and rebased my branch. |
Hi, thanks mlt for proposing this change. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Support passing in a selector for `dropdownParent` option
If passing a non-jQuery object (string), a
.css
call throws an exception$offsetParent.css is not a function
in AttachBody.prototype._positionDropdown.This pull request includes a
The following changes were made
$()
on passed dropdownParent / data-dropdown-parent in AttachBody$()
on already a jQuery objectsIf this is related to an existing ticket, include a link to it as well.