Skip to content

Conversation

@sai6855
Copy link
Contributor

@sai6855 sai6855 commented Dec 19, 2025

@mui-bot
Copy link

mui-bot commented Dec 19, 2025

Deploy preview: https://deploy-preview-20719--material-ui-x.netlify.app/

Bundle size report

Bundle Parsed size Gzip size
@mui/x-data-grid 0B(0.00%) 0B(0.00%)
@mui/x-data-grid-pro 0B(0.00%) 0B(0.00%)
@mui/x-data-grid-premium 0B(0.00%) 0B(0.00%)
@mui/x-charts 0B(0.00%) 0B(0.00%)
@mui/x-charts-pro 0B(0.00%) 0B(0.00%)
@mui/x-charts-premium 0B(0.00%) 0B(0.00%)
@mui/x-date-pickers ▼-1B(0.00%) 🔺+3B(0.00%)
@mui/x-date-pickers-pro ▼-1B(0.00%) 🔺+3B(0.00%)
@mui/x-tree-view 0B(0.00%) 0B(0.00%)
@mui/x-tree-view-pro 0B(0.00%) 0B(0.00%)

Details of bundle changes

Generated by 🚫 dangerJS against e2e2e56

@sai6855 sai6855 added type: bug It doesn't behave as expected. scope: pickers Changes related to the date/time pickers. labels Dec 19, 2025
@sai6855 sai6855 marked this pull request as ready for review December 19, 2025 14:04
Copilot AI review requested due to automatic review settings December 19, 2025 14:04
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes a bug in the PickersDay component where styles for days outside the current month were incorrectly applied. The issue was caused by a negation operator (!) that prevented the dayOutsideMonth styles from being applied when isDayOutsideMonth was true.

Key Changes

  • Removed the incorrect negation (!) operator in the overridesResolver function, changing !ownerState.isDayOutsideMonth to ownerState.isDayOutsideMonth

@sai6855 sai6855 changed the title [pickers] Fix Styles applied to MuiPickersDay-dayOutsideMonth [pickers] Fix Styles applied to PickersDay when MuiPickersDay-dayOutsideMonth is passed Dec 22, 2025
@sai6855 sai6855 changed the title [pickers] Fix Styles applied to PickersDay when MuiPickersDay-dayOutsideMonth is passed [pickers] Fix Styles applied to PickersDay when MuiPickersDay-dayOutsideMonth is used Dec 22, 2025
@sai6855 sai6855 requested a review from LukasTy December 22, 2025 05:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope: pickers Changes related to the date/time pickers. type: bug It doesn't behave as expected.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[pickers] Styles applied to MuiPickersDay-dayOutsideMonth actually applied to MuiPickersDay-root

2 participants