Open totla-deshaw opened 2 months ago
Potentially modifying the stylesheet of the DatePicker calendar's zIndex, similar to https://github.com/holoviz/holoviews/pull/6297
Changing just z-index here does not help because the containing block of the picker element is limited by position: relative
on parent elements.
I think that the cleanest solution would be using the Popover API which mounts the element in top layer (or Dialog API though semantically popover fits better here).
Alternatively, one could:
position: fixed
to mount the picker in viewport and add logic to positions it correctlyThanks @krassowski, will take a look at the popover API. @mattpap Is that something we can use at the Bokeh level?
Is that something we can use at the Bokeh level?
Given this is managed by a third party library, then currently no. If this used bokeh's drop down pane, then this would work just fine. As a part of my CSS theming work, I'm redesigning all bokeh's widgets to use bokeh's components, so eventually this will work correctly and consistently.
This issue has been reported in the past #5800 .
A workaround is to pass the following CSS rule to FastListTemplate :
pn.template.FastListTemplate(
...
raw_css = [""" #sidebar { overflow-y: visible; } """]
...
)
ALL software version info
(this library, plus any other relevant software, e.g. bokeh, python, notebook, OS, browser, etc should be added within the dropdown below.)
Software Version Info
```plaintext Panel 1.4.5 ```Description of expected behavior and the observed behavior
Hi team,
The datepicker does not seem to overflow the sidebar like the other widgets. Feels like a bug but is there any quick CSS fix for this?
Complete, minimal, self-contained example code that reproduces the issue
Stack traceback and/or browser JavaScript console output
No errors
Screenshots or screencasts of the bug in action