bootstrap-datepicker icon indicating copy to clipboard operation
bootstrap-datepicker copied to clipboard

Datepicker no longer confined to element

Open eladavron opened this issue 1 year ago • 4 comments

Expected behaviour

In previous versions (verified working 1.9.0) this code:

<div>Nov. 2020 <button class="btn btn-sm btn-link btn-extend date"><i class="fas fa-history"></i></button></div>
$(".btn-extend")}.datepicker({
    viewMode: "months",
    minViewMode: "months",
    format: "yyyy-mm"
});

would produce this clickable button: image That when clicked, would pop up the datepicker: image

(fiddle: https://jsfiddle.net/5otfvcxz/)

Actual behaviour

As of 1.10.0, it looks like this: image (fiddle: https://jsfiddle.net/5otfvcxz/1/)

eladavron avatar Jun 01 '23 14:06 eladavron

Same issue. the PR that caused it is https://github.com/uxsolutions/bootstrap-datepicker/pull/2247

mmarton avatar Jun 03 '23 07:06 mmarton

I have the same issue after upgrading to 1.10 as well. Any workaround or fix available? I'm not a fan of replacing this library with another one just because of this issue, would like to continue using bootstrap-datepicker

toxpal avatar Aug 02 '23 11:08 toxpal

The fact, that there is not a single answer on this massive BC break shows that it's maybe time to find another lib for the job...

mmarton avatar Aug 02 '23 12:08 mmarton

Please fix this

tomsommer avatar Dec 30 '23 15:12 tomsommer