progress: false does not work in version 5.5.3
See original GitHub issueVersion
Reproduction link
https://codesandbox.io/s/8n6z6z30j8
Steps to reproduce
Add progress: false in request config:
this.$axios.get('URL', { progress: false });
this.$axios.post('URL', { data: 'data' }, { progress: false });
What is expected ?
progress bar is not displayed
What is actually happening?
Progress bar displayed for all types of requests (get, post, patch, delete)
Additional comments?
in version 5.3.6 it works correctly
<div align="right">This bug report is available on Nuxt community (#c255)</div>Issue Analytics
- State:
- Created 4 years ago
- Reactions:23
- Comments:15 (3 by maintainers)
Top Results From Across the Web
Google Site kit not triggering on website - WordPress.org
I have set up Google site kit and successfully linked it to my google analytics and search console. However, when testing whether the...
Read more >AOS Upgrade or CVM Memory Upgrade Stalls on VMware ...
In some cases, the script fails to re-configure the Controller VM, causing the upgrade process to stall. Similar issues can occur when upgrading ......
Read more >Issues Fixed in Cloudera Manager 5 | 5.x
In Cloudera Manager, host installation and upgrade does not work when using key-based ... Cloudera recommends that you upgrade to version 5.5.3 or...
Read more >V-Ray 5 - V-Ray for Revit - Chaos Help - Chaos Docs
V -Ray Interactive. Wrong replacements of linked file materials when Merge Identical is on; Revit family changes are not reflected to the ...
Read more >Npm Error - No matching version found for - Stack Overflow
Same problem now after npm install -g ionic@latest which takes it up to v.3.12.0 ... npm complains that there "is no matching version...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Still not working in 5.6.0
I did some digging and found that this might indeed be the result of an update in axios. But more in the sense that it shouldn’t have worked in earlier versions of this module.
When doing any axios request, axios creates a generic config file to create a request (see: https://github.com/axios/axios/blob/master/lib/core/mergeConfig.js)
It does not include the
progress
key. The axios onRequest hook that this module uses (see: https://github.com/nuxt-community/axios-module/blob/master/lib/plugin.js, line 108), expects that it does.Creating a plugin as such:
Shows that it is always
undefined
(as could be expected), so the testconfig && config.progress === false
always fails.I was unable to find a way to pass custom data to the axios config as of yet. For now this ugly fix worked: