Skip to content

[Bug][Calendar] Dynamically Changing BottomView Causes Incorrect Styling #769

@incutonez

Description

@incutonez

Describe the bug
When I attempt to change the bottomView property in the Calendar component, the styling looks wrong.

To Reproduce
Steps to reproduce the behavior:

See this Fiddle. After 3 seconds, the bottomView property will change, and you'll see it renders as

Image

Instead of

Image

Repro Code:

<template>
  <div id="vueapp" class="vue-app">
    <div class="example-config">
      <Calendar :default-active-view="bottomView" :bottom-view="bottomView" />
    </div>
  </div>
</template>

<script setup>
import { ref } from "vue";
import { Calendar } from "@progress/kendo-vue-dateinputs";

const bottomView = ref("month");

setTimeout(() => {
  bottomView.value = "year";
}, 3000);
</script>

Expected behavior
It should render properly.

Screenshots
See repro area for screenshots.

Browser

  • OS: Windows 11
  • Browser Any
  • Version 7.0.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions