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

Calendar: does not change "view" dynamicly #3153

Closed
kazamov opened this issue Aug 11, 2022 · 0 comments · Fixed by #3154
Closed

Calendar: does not change "view" dynamicly #3153

kazamov opened this issue Aug 11, 2022 · 0 comments · Fixed by #3154
Assignees
Labels
Type: Bug Issue contains a defect related to a specific component.
Milestone

Comments

@kazamov
Copy link
Contributor

kazamov commented Aug 11, 2022

Describe the bug

The behavior when you switch the view of the Calendar e.g. from 'date' to the 'month' does not work as expected.

Reproducer

https://codesandbox.io/s/primereact-test-forked-jx8kt6

PrimeReact version

8.3.0

React version

17.x

Language

TypeScript

Build / Runtime

Create React App (CRA)

Browser(s)

No response

Steps to reproduce the behavior

  1. Render the Calendar with the view="date".
  2. Change the view to the month.

Actual result: only the head of the picker is rendered.

Expected behavior

The whole picker should be rendered after the view is changed dynamically.

@kazamov kazamov added Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible Type: Bug Issue contains a defect related to a specific component. labels Aug 11, 2022
kazamov pushed a commit to kazamov/primereact that referenced this issue Aug 11, 2022
@melloware melloware added 👍 confirmed and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Aug 11, 2022
@melloware melloware added this to the 9.0.0 milestone Aug 11, 2022
melloware pushed a commit that referenced this issue Aug 11, 2022
@mertsincan mertsincan modified the milestones: 9.0.0, 8.4.0 Aug 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a defect related to a specific component.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants