Crash in DataGrid because ToolbarOptions no longer has SetMobileMode() on 4.2.13
nickpalmer opened this issue · 1 comments
nickpalmer commented
Describe the bug
We have a hard crash on the latest release in our DataGrid because ToolbarOptions no longer has a "SetMobileMode()" method on it.
To Reproduce
Steps to reproduce the behavior:
- Create a DataGrid with ToolbarOptions.
- Watch it crash
Expected behavior
It shouldn't crash.
Uncaught TypeError: toolbarOptions.SetMobileMode is not a function
at DataGrid (DataGrid.js:60)
at renderWithHooks (react-dom.development.js:15105)
at updateFunctionComponent (react-dom.development.js:16922)
at beginWork$1 (react-dom.development.js:18495)
at HTMLUnknownElement.callCallback (react-dom.development.js:348)
at Object.invokeGuardedCallbackDev (react-dom.development.js:398)
at invokeGuardedCallback (react-dom.development.js:455)
at beginWork$$1 (react-dom.development.js:23214)
at performUnitOfWork (react-dom.development.js:22205)
at workLoopSync (react-dom.development.js:22182)
at renderRoot (react-dom.development.js:21875)
at runRootCallback (react-dom.development.js:21551)
at react-dom.development.js:11354
at unstable_runWithPriority (scheduler.development.js:643)
at runWithPriority$2 (react-dom.development.js:11306)
at flushSyncCallbackQueueImpl (react-dom.development.js:11350)
at scheduler_flushTaskAtPriority_Immediate (scheduler.development.js:430)
at flushTask (scheduler.development.js:476)
at flushWork (scheduler.development.js:599)
at MessagePort.performWorkUntilDeadline (scheduler.development.js:231)
stale commented
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.