Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


Topic: i.current.scrollIntoViewIfNeeded is not a function

jammerxd2 priority asked 1 year ago


Expected behavior

I can use the up and down arrow keys to select from a drop down

Actual behavior

I get an error/crash stack.

All I did was click an autocomplete drop down and use the arrow keys to try to change my selection.

Resources (screenshots, code snippets etc.)

i.current.scrollIntoViewIfNeeded is not a function
F:\mdbootstrap_git\mdb\react\mdb5\prd\mdb5-react-ui-kit-pro-advanced\dist\mdb-react-ui-kit.esm.js/Pc/<@https://localhost:2096/static/js/bundle.js:111367:37
commitHookEffectListMount@https://localhost:2096/static/js/bundle.js:50268:30
commitPassiveMountOnFiber@https://localhost:2096/static/js/bundle.js:51761:42
commitPassiveMountEffects_complete@https://localhost:2096/static/js/bundle.js:51733:38
commitPassiveMountEffects_begin@https://localhost:2096/static/js/bundle.js:51723:45
commitPassiveMountEffects@https://localhost:2096/static/js/bundle.js:51713:38
flushPassiveEffectsImpl@https://localhost:2096/static/js/bundle.js:53598:32
flushPassiveEffects@https://localhost:2096/static/js/bundle.js:53550:18
commitRootImpl@https://localhost:2096/static/js/bundle.js:53509:9
commitRoot@https://localhost:2096/static/js/bundle.js:53292:23
performSyncWorkOnRoot@https://localhost:2096/static/js/bundle.js:52801:17
flushSyncCallbacks@https://localhost:2096/static/js/bundle.js:40804:26
./node_modules/react-dom/cjs/react-dom.development.js/ensureRootIsScheduled/<@https://localhost:2096/static/js/bundle.js:52405:17
VoidFunction*ensureRootIsScheduled@https://localhost:2096/static/js/bundle.js:52397:30
scheduleUpdateOnFiber@https://localhost:2096/static/js/bundle.js:52293:30
dispatchSetState@https://localhost:2096/static/js/bundle.js:45400:32
F:\mdbootstrap_git\mdb\react\mdb5\prd\mdb5-react-ui-kit-pro-advanced\dist\mdb-react-ui-kit.esm.js/Fc/o<@https://localhost:2096/static/js/bundle.js:111393:23
EventListener.handleEvent*F:\mdbootstrap_git\mdb\react\mdb5\prd\mdb5-react-ui-kit-pro-advanced\dist\mdb-react-ui-kit.esm.js/Fc/<@https://localhost:2096/static/js/bundle.js:111400:79
commitHookEffectListMount@https://localhost:2096/static/js/bundle.js:50268:30
commitPassiveMountOnFiber@https://localhost:2096/static/js/bundle.js:51761:42
commitPassiveMountEffects_complete@https://localhost:2096/static/js/bundle.js:51733:38
commitPassiveMountEffects_begin@https://localhost:2096/static/js/bundle.js:51723:45
commitPassiveMountEffects@https://localhost:2096/static/js/bundle.js:51713:38
flushPassiveEffectsImpl@https://localhost:2096/static/js/bundle.js:53598:32
flushPassiveEffects@https://localhost:2096/static/js/bundle.js:53550:18
commitRootImpl@https://localhost:2096/static/js/bundle.js:53509:9
commitRoot@https://localhost:2096/static/js/bundle.js:53292:23
performSyncWorkOnRoot@https://localhost:2096/static/js/bundle.js:52801:17
flushSyncCallbacks@https://localhost:2096/static/js/bundle.js:40804:26
./node_modules/react-dom/cjs/react-dom.development.js/ensureRootIsScheduled/<@https://localhost:2096/static/js/bundle.js:52405:17
VoidFunction*ensureRootIsScheduled@https://localhost:2096/static/js/bundle.js:52397:30
scheduleUpdateOnFiber@https://localhost:2096/static/js/bundle.js:52293:30
dispatchSetState@https://localhost:2096/static/js/bundle.js:45400:32
Y@https://localhost:2096/static/js/bundle.js:111438:10
callCallback@https://localhost:2096/static/js/bundle.js:33964:18
invokeGuardedCallbackDev@https://localhost:2096/static/js/bundle.js:34008:20
invokeGuardedCallback@https://localhost:2096/static/js/bundle.js:34065:35
invokeGuardedCallbackAndCatchFirstError@https://localhost:2096/static/js/bundle.js:34079:29
executeDispatch@https://localhost:2096/static/js/bundle.js:38223:46
processDispatchQueueItemsInOrder@https://localhost:2096/static/js/bundle.js:38249:26
processDispatchQueue@https://localhost:2096/static/js/bundle.js:38260:41
dispatchEventsForPlugins@https://localhost:2096/static/js/bundle.js:38269:27
./node_modules/react-dom/cjs/react-dom.development.js/dispatchEventForPluginEventSystem/<@https://localhost:2096/static/js/bundle.js:38429:16
batchedUpdates$1@https://localhost:2096/static/js/bundle.js:52821:16
batchedUpdates@https://localhost:2096/static/js/bundle.js:33812:16
dispatchEventForPluginEventSystem@https://localhost:2096/static/js/bundle.js:38428:21
dispatchEventWithEnableCapturePhaseSelectiveHydrationWithoutDiscreteEventReplay@https://localhost:2096/static/js/bundle.js:35934:42
dispatchEvent@https://localhost:2096/static/js/bundle.js:35928:88
dispatchDiscreteEvent@https://localhost:2096/static/js/bundle.js:35905:22
EventListener.handleEvent*addEventBubbleListener@https://localhost:2096/static/js/bundle.js:36127:14
addTrappedEventListener@https://localhost:2096/static/js/bundle.js:38351:33
listenToNativeEvent@https://localhost:2096/static/js/bundle.js:38295:30
./node_modules/react-dom/cjs/react-dom.development.js/listenToAllSupportedEvents/<@https://localhost:2096/static/js/bundle.js:38306:34
listenToAllSupportedEvents@https://localhost:2096/static/js/bundle.js:38301:25
createRoot@https://localhost:2096/static/js/bundle.js:55584:33
createRoot$1@https://localhost:2096/static/js/bundle.js:55930:14
./node_modules/react-dom/client.js/exports.createRoot@https://localhost:2096/static/js/bundle.js:56006:16
./src/index.tsx@https://localhost:2096/static/js/bundle.js:9665:60
options.factory@https://localhost:2096/static/js/bundle.js:113240:31
__webpack_require__@https://localhost:2096/static/js/bundle.js:112655:33
@https://localhost:2096/static/js/bundle.js:113822:56
@https://localhost:2096/static/js/bundle.js:113824:12

Mateusz Lazaru staff commented 1 year ago

There is a bug indeed, thank you for reporting. We already have a fix waiting to be released.


jammerxd2 priority commented 1 year ago

Is there an ETA on when it'll be released?


Mateusz Lazaru staff commented 1 year ago

Most likely at the end of this month.



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Opened

Specification of the issue

  • ForumUser: Priority
  • Premium support: Yes
  • Technology: MDB React
  • MDB Version: MDB5 6.3.0
  • Device: PC
  • Browser: Firefox, Chrome, Edge
  • OS: Windows 11
  • Provided sample code: No
  • Provided link: No