-
Notifications
You must be signed in to change notification settings - Fork 165
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
Does not work inside modal #214
Comments
@FrilledShark Did you find a work around for this issue? I am having the same issue except in Chrome on Windows. |
I tried to change the way the Calender activated, as I figured it was something to do with ‘is-active’. However, I didn’t find any solution. If you want to give it a go, I would suggest starting by playing around with this css class. Because it was quite urgent, I switched to https://github.com/flatpickr/flatpickr. And it works wonders if you aren’t bothered with the somewhat inconsistent style. However, if you find a solution I would be very interested in knowing, because I prefer the usage and style of Bulma-calender over flat-picker. |
I think I found the cause of this problem. In the index.sass file, at the end of the file, there is this block: .modal
.datetimepicker
display: block
max-height: 95vh
width: 22rem
max-width: 95vw
overflow-y: auto The problem is the A quick workaround could be to override this in your own style. |
I'am using this solution for this problem, just add this to <style> tag to override the default style of datepicker style:
|
I've added the style to my css file, but it seems that the not working in the modal is still there. May I know the Bulma version you are using is ? Mine is 0.8.0 |
I'am not using vanilla version of bulma but i'am using Buefy v0.8.12 |
in displayMode "default" works fine, but in mode "inline", date is not changing on click. i'm talking about using inside of a modal |
Normally I would suggest just using If you override the z-index of the actual calendar, however, you can use it quite well. You can do that with CSS by e.g. doing: Edit: I just noticed: even then the calendar is not working. Every click just closes it again. No idea what happened there. All clicks seem to be going "behind" the calendar or something. |
Bug Report
Environment
Current Behavior
If used inside a modal, it is always open (except dialog) and cannot be closed.
And, the calendar cannot expand outside the modal.
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via codepen or similar.
(I don't know how to use codepen)
But the following HTML document is sufficient, if you change the sources:
The text was updated successfully, but these errors were encountered: