mui / mui-x

MUI X: Build complex and data-rich applications using a growing list of advanced React components, like the Data Grid, Date and Time Pickers, Charts, and more!
https://mui.com/x/
3.92k stars 1.2k forks source link

Calendar bug while testing on your website documentation #13727

Open estebanmathia opened 4 days ago

estebanmathia commented 4 days ago

Steps to reproduce

Link to live example: (required)

Steps:

  1. Go to : https://mui.com/x/react-date-pickers/date-calendar/ at weekly picker
  2. Set the calendar to April 2022
  3. Select any other than week 14 or 15
  4. Select the 3 April 2022
image

Current behavior

The desired week are selected normally + The previous Monday is selected too.

Expected behavior

Only the desired week must be selected

Context

I just clic everywhere to test how the component work

Your environment

npx @mui/envinfo ``` Don't forget to mention which browser you used. Output from `npx @mui/envinfo` goes here. ``` the bug encounter, not arrived while a coding section but during documentation on your web site. I used Safari as browser

Search keywords: calendar

LukasTy commented 4 days ago

Hello @estebanmathia, thank you for reporting this issue. 🙏 I can not reproduce this problem locally. Could you please specify which timezone your machine is in? 🤔

estebanmathia commented 4 days ago

Hello @LukasTy, I'm at Europe/Paris

LukasTy commented 4 days ago

I'm at Europe/Paris

I've tried setting Paris, London, and New York timezones, but in all the cases I couldn't reproduce this case.

Further questions:

  1. Are you locally in this timezone or have you set it using some browser extension?
  2. Which browser and OS are you on?
estebanmathia commented 4 days ago

I'm local in this time zone and I don't have any extension on this browser. Currently, I'm on MacOS 14.5 (23F79) and using safari Version 17.5 (19618.2.12.11.6)

LukasTy commented 3 days ago

@arthurbalduini maybe you could check this one? If I remember correctly, you should be in the same time zone and with updated MacOS.

arthurbalduini commented 3 days ago

Hey @estebanmathia, although I'm in the same timezone, OS and browser versions as you, I couldn't reproduce the bug you reported. Is there any other information you can provide for our investigation ?

LukasTy commented 3 days ago

@estebanmathia maybe you could share a video recording of the problem happening? Could you also confirm the version of the docs you are on? Screenshot 2024-07-05 at 14 11 52

estebanmathia commented 3 days ago

Before publishing the issue, I tested different configurations and click orders. The behavior seemed to be recurrent even when changing tabs. However currently, I am unable to reproduce this event... Sorry for not providing more information I can only confirm the Date Pickers was v7.8.0