Open FrilledShark opened 4 years ago
@FrilledShark Did you find a work around for this issue? I am having the same issue except in Chrome on Windows.
@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 display: block
instruction.
A quick workaround could be to override this in your own style.
I'am using this solution for this problem, just add this to
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: