Skip to content
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

Datepicker no longer confined to element #2683

Open
eladavron opened this issue Jun 1, 2023 · 4 comments
Open

Datepicker no longer confined to element #2683

eladavron opened this issue Jun 1, 2023 · 4 comments

Comments

@eladavron
Copy link

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/)

@mmarton
Copy link

mmarton commented Jun 3, 2023

Same issue. the PR that caused it is #2247

@toxpal
Copy link

toxpal commented Aug 2, 2023

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

@mmarton
Copy link

mmarton commented Aug 2, 2023

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...

@tomsommer
Copy link

Please fix this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants