Skip to content

"--dp-menu-min-width" creates buggy overlay in month and year picker #954

Closed
@NicoHof

Description

@NicoHof

Describe the bug
Setting --dp-menu-min-width: 400px; works fine with regular date picker.
Once I use it for month or year picker the overlay content is not stretched 100% width:

To Reproduce
https://codesandbox.io/p/sandbox/vue3-datepicker-min-max-issue-forked-fwgl9k?file=%2Fsrc%2FApp.vue%3A5%2C40

Expected behavior
The content of the overlay should also stretch 100% of available width

Screenshots
Month picker:
Bildschirmfoto vom 2024-07-29 22-15-53

Date picker in month view works fine:
Bildschirmfoto vom 2024-07-29 22-16-21

Desktop & mobile (please complete the following information):

  • Library version 9.0.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions