Open Dorianslavov opened 3 months ago
In my use case DatePicker is being used as a popover which appears when clicking inside an input via the DatePicker's default slot.
DatePicker
The problem is that when it's used inside a container with overflow: hidden this clips the DatePicker popover.
overflow: hidden
Popper.js has an option to render itself with position: fixed instead of position: absolute by adding
Popper.js
position: fixed
position: absolute
createPopper(triggerElement, { ... strategy: 'fixed', })
How can I change the strategy for the DatePicker's popover ?
In my use case
DatePicker
is being used as a popover which appears when clicking inside an input via theDatePicker
's default slot.The problem is that when it's used inside a container with
overflow: hidden
this clips the DatePicker popover.Popper.js
has an option to render itself withposition: fixed
instead ofposition: absolute
by addingHow can I change the strategy for the
DatePicker
's popover ?