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

fix(VCalendar): Stop day row content overflowing its parent #19340

Merged
merged 2 commits into from
Mar 6, 2024

Conversation

yuwu9145
Copy link
Member

@yuwu9145 yuwu9145 commented Mar 5, 2024

fixes #18968

Description

Markup:

<template>
  <v-app>
    <v-container>
      <v-calendar v-model="msg" view-mode="week" :events="events"></v-calendar>
    </v-container>
  </v-app>
</template>

<script setup>
  import { ref } from 'vue'

  const events = [
    {
      title:
        'The text is too long and overflow, end date is invalid, event only lasts an hour',
      start: new Date('2024-01-23T03:00:00Z'),
      end: new Date('2024-01-23T4:00:00Z'),
      color: 'blue',
    },
  ]

  const msg = ref([new Date('2024-01-23T14:30:00Z')])
</script>

@yuwu9145 yuwu9145 changed the title fix(VCalendar): Stop day row content overflows its parent fix(VCalendar): Stop day row content overflowing its parent Mar 5, 2024
@johnleider johnleider added this to the v3.5.x milestone Mar 6, 2024
@johnleider johnleider added T: bug Functionality that does not work as intended/expected C: VCalendar VCalendar labels Mar 6, 2024
@@ -55,8 +58,8 @@ export const VCalendarIntervalEvent = genericComponent()({
<VSheet
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@blalan @yuwu9145 - I moved out some of the utility classes, but rounded needs to be ultimately removed or specifically added since a user might not have utility classes enabled.

@johnleider johnleider merged commit 9049888 into master Mar 6, 2024
17 of 18 checks passed
@johnleider johnleider deleted the fix-18968 branch March 6, 2024 02:58
VIXI0 pushed a commit to VIXI0/vuetify that referenced this pull request Mar 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: VCalendar VCalendar T: bug Functionality that does not work as intended/expected
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug Report][3.4.9] VCalendar: rendering issue when events titles is too long
2 participants