multiselect problem rendering

UI Components for React
Post Reply
sctech100
Posts: 1
Joined: 20 Jul 2021, 18:13

20 Jul 2021, 18:19

i use primereact multiselect wondering i got this error where open the multiselect.. version 6.5.0

multiselect.esm.js:1140 Uncaught TypeError: callback is not a function
at MultiSelect.onOverlayEntered (multiselect.esm.js:1140)
at CSSTransition.onEntered (core.esm.js:3228)
at Object.CSSTransition._this.onEntered (CSSTransition.js:149)
at Transition.js:297
at Transition.nextCallback (Transition.js:358)
at callCallback (react-dom.development.js:12318)
at commitUpdateQueue (react-dom.development.js:12339)
at commitLifeCycles (react-dom.development.js:20709)
at commitLayoutEffects (react-dom.development.js:23426)
at HTMLUnknownElement.callCallback (react-dom.development.js:3945)
at Object.invokeGuardedCallbackDev (react-dom.development.js:3994)
at invokeGuardedCallback (react-dom.development.js:4056)
at commitRootImpl (react-dom.development.js:23151)
at unstable_runWithPriority (scheduler.development.js:468)
at runWithPriority$1 (react-dom.development.js:11276)
at commitRoot (react-dom.development.js:22990)
at performSyncWorkOnRoot (react-dom.development.js:22329)
at react-dom.development.js:11327
at unstable_runWithPriority (scheduler.development.js:468)
at runWithPriority$1 (react-dom.development.js:11276)
at flushSyncCallbackQueueImpl (react-dom.development.js:11322)
at flushSyncCallbackQueue (react-dom.development.js:11309)
at scheduleUpdateOnFiber (react-dom.development.js:21893)
at Object.enqueueSetState (react-dom.development.js:12467)
at Transition.push../node_modules/react/cjs/react.development.js.Component.setState (react.development.js:365)
at Transition.safeSetState (Transition.js:346)
at Transition.js:294
at nextCallback (Transition.js:358)
onOverlayEntered @ multiselect.esm.js:1140
onEntered @ core.esm.js:3228
CSSTransition._this.onEntered @ CSSTransition.js:149
(anonymous) @ Transition.js:297
nextCallback @ Transition.js:358
callCallback @ react-dom.development.js:12318
commitUpdateQueue @ react-dom.development.js:12339
commitLifeCycles @ react-dom.development.js:20709
commitLayoutEffects @ react-dom.development.js:23426
callCallback @ react-dom.development.js:3945
invokeGuardedCallbackDev @ react-dom.development.js:3994
invokeGuardedCallback @ react-dom.development.js:4056
commitRootImpl @ react-dom.development.js:23151
unstable_runWithPriority @ scheduler.development.js:468
runWithPriority$1 @ react-dom.development.js:11276
commitRoot @ react-dom.development.js:22990
performSyncWorkOnRoot @ react-dom.development.js:22329
(anonymous) @ react-dom.development.js:11327
unstable_runWithPriority @ scheduler.development.js:468
runWithPriority$1 @ react-dom.development.js:11276
flushSyncCallbackQueueImpl @ react-dom.development.js:11322
flushSyncCallbackQueue @ react-dom.development.js:11309
scheduleUpdateOnFiber @ react-dom.development.js:21893
enqueueSetState @ react-dom.development.js:12467
push../node_modules/react/cjs/react.development.js.Component.setState @ react.development.js:365
safeSetState @ Transition.js:346
(anonymous) @ Transition.js:294
nextCallback @ Transition.js:358
setTimeout (async)
onTransitionEnd @ Transition.js:383
(anonymous) @ Transition.js:293
nextCallback @ Transition.js:358
callCallback @ react-dom.development.js:12318
commitUpdateQueue @ react-dom.development.js:12339
commitLifeCycles @ react-dom.development.js:20709
commitLayoutEffects @ react-dom.development.js:23426
callCallback @ react-dom.development.js:3945
invokeGuardedCallbackDev @ react-dom.development.js:3994
invokeGuardedCallback @ react-dom.development.js:4056
commitRootImpl @ react-dom.development.js:23151
unstable_runWithPriority @ scheduler.development.js:468
runWithPriority$1 @ react-dom.development.js:11276
commitRoot @ react-dom.development.js:22990
performSyncWorkOnRoot @ react-dom.development.js:22329
(anonymous) @ react-dom.development.js:11327
unstable_runWithPriority @ scheduler.development.js:468
runWithPriority$1 @ react-dom.development.js:11276
flushSyncCallbackQueueImpl @ react-dom.development.js:11322
flushSyncCallbackQueue @ react-dom.development.js:11309
discreteUpdates$1 @ react-dom.development.js:22420
discreteUpdates @ react-dom.development.js:3756
dispatchDiscreteEvent @ react-dom.development.js:5889
index.js:1 The above error occurred in the <Transition> component:

at Transition (http://localhost:3000/static/js/vendors ... :340049:30)
at CSSTransition (http://localhost:3000/static/js/vendors ... :339429:35)
at CSSTransition (http://localhost:3000/static/js/vendors ... js:21441:5)
at Portal (http://localhost:3000/static/js/vendors ... js:20629:5)
at MultiSelectPanelComponent (http://localhost:3000/static/js/vendors ... js:33876:5)
at div
at MultiSelect (http://localhost:3000/static/js/vendors ... js:34275:5)
at div
at div
at TestingPage (http://localhost:3000/static/js/main.chunk.js:27174:5)
at Route (http://localhost:3000/static/js/vendors ... :338923:29)
at Switch (http://localhost:3000/static/js/vendors ... :339125:29)
at Router (http://localhost:3000/static/js/vendors ... :338558:30)
at BrowserRouter (http://localhost:3000/static/js/vendors ... :338178:35)
at App
at I18nextProvider (http://localhost:3000/static/js/vendors ... :326805:19)
at Provider (http://localhost:3000/static/js/vendors ... :333682:20)

JohnMc
Posts: 1
Joined: 28 Jul 2021, 08:51

28 Jul 2021, 08:56

Hi
I ran into the exact same issue.
Have tried using different version. v6.3.2 works.
Anything after (and including) v6.4.0 fails with same message.

mcandu
Posts: 57
Joined: 20 Jan 2021, 16:31

19 Aug 2021, 09:55

Hi,

Could you please create a codesandbox example that I can see the issue ?

Post Reply

Return to “PrimeReact”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 4 guests