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

showDoubleView and showNeighboringMonth=false will still cause the previous/next month's dates to be shown #948

Open
2 tasks done
Zandor300 opened this issue Aug 8, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Zandor300
Copy link

Zandor300 commented Aug 8, 2024

Before you start - checklist

  • I followed instructions in documentation written for my React-Calendar version
  • I have checked if this bug is not already reported

Description

The following example will still cause the next and previous month's dates to be shown.

<Calendar
    showDoubleView
    showNeighboringMonth={ false }
/>

image

Steps to reproduce

<Calendar
    showDoubleView
    showNeighboringMonth={ false }
/>

Expected behavior

Previous and next month's dates aren't shown in the container for the current month, like how is the case for the not-double view:

image

Actual behavior

Using double view will cause certain overlapping week's dates to be shown twice as can be seen in the screenshot above.

Additional information

No response

Environment

  • Browser (if applicable): Chrome 127.0.6533.99
  • React-Calendar version: 5.0.0
  • React version: 18.2.0
@Zandor300 Zandor300 added the bug Something isn't working label Aug 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant