Proposed patch: Datepicker appendTo option

Proposed patch: Datepicker appendTo option

We want to use the Datepicker widget in conjunction with a Bubble widget we developed. The Bubble widget is a bit like Dialog, except that the bubble is dismissed when the user clicks anywhere outside it.


The problem is, since Datepicker always appends to the document body, it always appears to be outside of our Bubble. Thus, clicking on the datepicker closes the bubble. We want, therefore, to patch Datepicker to append to any element. 


We have already successfully added an appendTo option to the Autocomplete widget. However, before we continue down this path, we want to know whether these patches would likely be accepted upstream.


Any advice on a different approach would also be appreciated.


Thank you.

--

David McCabe