laravel / jetstream

Tailwind scaffolding for the Laravel framework.

Home Page:https://jetstream.laravel.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Jetstream with Inertiajs Vue banner not hide

majweb opened this issue · comments

Jetstream Version

4

Jetstream Stack

Inertia

Laravel Version

10

PHP Version

8.1

Database Driver & Version

MYSQL

Description

When I send a request
return redirect()->back()->banner('added.');

in the Banner.vue file this piece of code
onMounted(() => {
setTimeout(() => { show.value = false; }, 2000)
}) only works when the component is being rendered, not when there is an action. The Banner component does not disappear after 2 seconds.

Steps To Reproduce

d

Hey there,

Can you first please try one of the support channels below? If you can actually identify this as a bug, feel free to open up a new issue with a link to the original one and we'll gladly help you out.

Thanks!