Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(VDateInput): pass location to VMenu #20854

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

J-Sek
Copy link
Contributor

@J-Sek J-Sek commented Jan 10, 2025

Description

I am unable to figure out any valid use case for location when it is passed to the VDatePicker. If we could pass it to VMenu instead it enables control over picker location.

bottom center was mentioned by someone on Discord, but would require replacing whole component with VTextInput and VMenu and reimplementing stuff or accepting suboptimal UX (minimal workaround) VDefaultsProvider to inject location to VMenu (playground).

Markup:

<template>
  <v-app>
    <v-container>
      <v-date-input label="Original placement" />
      <v-date-input label="Centered" location="bottom center" />
    </v-container>
  </v-app>
</template>

@J-Sek J-Sek self-assigned this Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant