Page 1 of 1

Regarding multiple display of calendar

Posted: 11 Mar 2021, 15:35
by vk-it05
Hello, I'm currently trying to create an original web system using PrimeVue.
I'm having trouble with my calendar.

Currently, I am making a calendar in the following format. The code is as follows.
The problem is, if the April display was in the center of the three calendars When I clicked on the April date somewhere, the April calendar moved to the left.
This problem happens even if I have two or four calendars.
I want the calendar position to be fixed when I click on the April or May calendar.
Looking at the sample component of the PrimeVue document, it seems default setting, but is there a way to fix it?

Image
Image

The code that implements above is as follows.
Except the above problems, it works fine.

Code: Select all

      <Calendar
          id="multiplemonths"
          :numberOfMonths="3"
          @date-select="dateselect"
          v-model="date1"
          :inline="true"
          selectionMode="multiple"
      >
      </Calendar>