Error to Hidding a TabPanel (Bug ?) .

UI Components for Vue
Post Reply
Dicipulofer
Posts: 8
Joined: 10 Mar 2021, 21:50

19 Apr 2021, 22:59

I guess I found a bug in the TabPanel component .

Trying to hide using v-if, the error below is presented.

<TabView>
<TabPanel v-if="false">
<template #header>
<i class="pi pi-fw pi-file"></i>
<span>Simple. Oracle</span>
</template>
</TabPanel>
</TabView>

Uncaught (in promise) TypeError: child.children.forEach is not a function
at eval (tabview.esm.js?eeae:74)
at Array.forEach (<anonymous>)
at Proxy.tabs (tabview.esm.js?eeae:69)
at ComputedRefImpl.reactiveEffect [as effect] (reactivity.esm-bundler.js?a1e9:42)
at ComputedRefImpl.get value [as value] (reactivity.esm-bundler.js?a1e9:860)
at Object.get [as tabs] (runtime-core.esm-bundler.js?5c40:5905)
at Proxy.render (tabview.esm.js?eeae:111)
at renderComponentRoot (runtime-core.esm-bundler.js?5c40:846)
at componentEffect (runtime-core.esm-bundler.js?5c40:4275)
at reactiveEffect (reactivity.esm-bundler.js?a1e9:42)
runtime-core.esm-bundler.js?5c40:38 [Vue warn]: Unhandled error during execution of scheduler flush. This is likely a Vue internals bug. Please open an issue at https://new-issue.vuejs.org/?repo=vuejs/vue-next
at <BaseTransition onEnter=fn onLeave=fn<onLeave> appear=false ... >
at <Transition name="p-overlaypanel" onEnter=fn<bound onEnter> onLeave=fn<bound onLeave> >
at <OverlayPanel ref="opPend" showCloseIcon=true dismissable=false ... >
at <PreDigitacao onVnodeUnmounted=fn<onVnodeUnmounted> ref=Ref< Proxy > >
at <RouterView>
at <App>
warn @ runtime-core.esm-bundler.js?5c40:38
runtime-dom.esm-bundler.js?830f:36 Uncaught (in promise) TypeError: Cannot read property 'parentNode' of null
at parentNode (runtime-dom.esm-bundler.js?830f:36)
at patchBlockChildren (runtime-core.esm-bundler.js?5c40:4082)
at processFragment (runtime-core.esm-bundler.js?5c40:4147)
at patch (runtime-core.esm-bundler.js?5c40:3781)
at patchBlockChildren (runtime-core.esm-bundler.js?5c40:4086)
at patchElement (runtime-core.esm-bundler.js?5c40:4050)
at processElement (runtime-core.esm-bundler.js?5c40:3868)
at patch (runtime-core.esm-bundler.js?5c40:3785)
at componentEffect (runtime-core.esm-bundler.js?5c40:4363)
at reactiveEffect (reactivity.esm-bundler.js?a1e9:42)

tugce.kucukoglu
Posts: 121
Joined: 23 Oct 2020, 09:28

11 Jun 2021, 15:25

Hi,

It was fixed for the 3.5.0.

Best,

Post Reply

Return to “PrimeVue”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 4 guests