Skip to content

Force floating config placement #1215

@jose-seabra

Description

@jose-seabra

Is your feature request related to a problem? Please describe.
With v12 the prop auto-position got deprecated and I'm unable to replicate the old behavior. I'd want to have the datepicker always open to the 'bottom' placement, but it seems like this gets overridden if the window size is not enough to accommodate the datepicker.

Describe the solution you'd like
Have a way to enforce that the placement is what you set it to without recalculations.

Describe alternatives you've considered
I've tried to use strategy 'fixed' to no success

Additional context
https://stackblitz.com/edit/vuepic-vue-datepicker-8szspwji?file=src%2Fcomponents%2FPlayground.vue

Consider this 1280x580 resolution
Image

I'd want the datepicker to always open to the bottom. By having it so, the page would become scrollable, as opposed to opening to the top, where you cant scroll

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions