#Tabs with prop destroyInactiveTabPanel error

1 messages · Page 1 of 1 (latest)

pulsar timber
#

I'm using the Tabs component with the prop destroyInactiveTabPanel={false} as on each tab I'm showing some dynamic data using a fetch call and I dont want the fetch call to be done again when switching away and to the tab again. The page is working but Im getting the console error

hook.js:608 Received the string `true` for the boolean attribute `inert`. Although this works, it will not work as expected if you pass the string "false". Did you mean inert={true}? Error Component Stack
    at div (<anonymous>)
    at NextUI.TabPanel (chunk-MGHLJVLI.mjs:30:20)
    at Tabs (chunk-25S546L6.mjs:29:80)

only on development mode. On production the error doesn't even show. Removing the prop fixes the error, but I need the inactive tab to not be destroyed, so I need to use the prop.

pulsar timber
#

<@&886709813667573801> should I submit a bug on github?

rose plank
#

please help create a issue with the reproducible example. thanks

static hull
#

@pulsar timber the ticket shows "completed" but I'm still having that exact same problem - how about you?

#

actually doesn't look like the merge with it has happened.

pulsar timber
#

The merge was done but it will probably be released with the next update