Comments (4)
Alright, no worries 👍
Seems like the issue disappeared after doing the following:
- Upgrading to React 18.2.0
- Moving
LocalizationProvider
to just be defined once at the app root, instead of separately for each date picker
Soo a bit of a mystery this one still 😄 but I suspect that the fix here was the upgrade to React 18, rather than the LocalizationProvider change.
from mui-x.
Hello @juiceo
This seems like a very strange issue.
Are you able to replicate it in codesanbox or using a plain repository?
- Could you expand more about the environment you are using?
What build/development (e.g. webpack, vite, or something else) environment are you using? - Does it happen on development build, production build, or both?
- Maybe your modules got corrupted in some way. Have you tried deleting node_modules and re-installing or also removing the lock file and downloading all fresh packages to test if the issue is not related to your particular installation edge cases? 🤔
from mui-x.
Hi @LukasTy - thanks for the suggestions! So:
- We are using Vite (
4.4.11
) as our build tool - The issue happens both in development as well as in our production builds
- Probably not a case of node_modules being corrupted, as the issue persists in our production builds where we always install them from scratch.
I don't think I have time now to make a clean reproduction of the issue (tbh not sure how to reproduce it even 😄), but I'll keep digging around our repo to try and find some clues.
Any other suggestions? Maybe particular MUI versions that could be tried?
from mui-x.
Hi @juiceo
I've tried replicating your problem locally using vite
, but couldn't reproduce any issue. 😞
I'm sorry, but until you can provide a reproduction example, I'm not sure we can be of more help.
P.S. I've tried React v18 and v17 and dev and production builds. 🤔
from mui-x.
Related Issues (20)
- [data grid] onMenuClose called too often HOT 1
- [docs] Missing Dependencies in "Charts - Getting Started" HOT 3
- [DataGrid] How to set sortModel to a Group on mount HOT 3
- [DataGrid] Export `GridColumnUnsortedIconProps` interface for custom slots HOT 2
- [DataGrid] Performance: Improve scrolling & virtualization logic HOT 4
- [DataGrid] Use of `isCellEditable` causes entire row to toggle its editability, rather than single cell HOT 14
- [DatePicker] Opening a DatePicker throws an error and month change icon doesn't work HOT 5
- [DataGrid] Can a custom filtering implementation make use of MUI's filter state? HOT 8
- [pickers] The DatePicker 'onAccept' event fires both when clicking on the Ok button and also when clicking outside the Picker (or pressing ESC), if the date has changed HOT 2
- Line chart legend overlap with the rest of the chart HOT 3
- [charts] Line chart highlight mark customisation HOT 4
- [charts] How to display given time as local time in a LineChart HOT 9
- How can I have a select element with search when inline edit? HOT 1
- [DataGrid] Please upgrade `reselect` to `^5.0.1` to be the same as in `@reduxjs/toolkit` HOT 3
- [DataGrid] Filterpanel resets state after every fetch HOT 5
- [charts] Wrong proptypes generated
- [DataGrid] Grouping by a column of type "singleSelect" results in filtering not working for that column (rowGroupingMode="multiple") HOT 2
- [DateTimePicker] closeOnSelect={true} not working properly HOT 1
- [DataGrid] GridColDef - Add a metadata property or allow a type override to extend the type HOT 1
- [DataGrid] DataGridPro type check fails at build with themeAugmentation HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mui-x.