-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Progress Indicator not showing on $inertia.reload() #19
Comments
@zacksmash I think i am runnig similar issue. Did you solve it? |
@robsontenorio I haven't yet, I ended up throwing a custom loading indicator for my |
@zacksmash I have tried custom loading, but no luck. Could you answer my comment with your solution? |
@robsontenorio Sure, my doesn't look too different from your solution, in your comment, but here's what I have data() {
loading: true,
},
...
mounted() {
this.$inertia.reload({
only: ['someData'],
onSuccess: () => this.loading = false
})
} |
@zacksmash Are you able to get that From any orgin page, in my case: It works with EDIT:
|
Versions:
@inertiajs/inertia
version:0.9.4@inertiajs/inertia-vue3
version: 0.4.7Describe the problem:
I'm using
$inertia.reload()
in my mounted hook to fetch data that takes a bit longer to retrieve (3rd party API). However, doing this no longer shows the progress indicators, viaInertiaProgress
.Steps to reproduce:
mounted()
lifecycle hook, make another request using theonly
option.The text was updated successfully, but these errors were encountered: