Skip to content

Progress Indicator not showing on $inertia.reload() #19

Open
@zacksmash

Description

Versions:

  • @inertiajs/inertia version:0.9.4
  • @inertiajs/inertia-vue3 version: 0.4.7

Describe 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, via InertiaProgress.

Steps to reproduce:

  1. Navigate to a page, with standard injected props.
  2. In your components mounted() lifecycle hook, make another request using the only option.
this.$inertia.reload({
      only: ['someApiData', 'someMoreApiData',],
})

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    • Status

      New 📑

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions