You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hello, I would like to add a custom exclusion rule to the initialization props, for example:
exclude={[// Exclude via data attribute'[data-next-top-loader-exclude="true"]',// Exclude specific paths'/api/*',// Exclude by specific class name'.no-progress-bar',]}
and then exclude such <a> tags.
The reason I’m raising this issue is that when I use an <a> tag to download files, I don’t want the top loader to appear, but it still shows up.
hello, I would like to add a custom exclusion rule to the initialization props, for example:
and then exclude such
<a>
tags.The reason I’m raising this issue is that when I use an
<a>
tag to download files, I don’t want the top loader to appear, but it still shows up.nextjs-toploader/src/index.tsx
Lines 247 to 249 in 461a78d
download
is an attribute of the<a>
tag, not a type ofhref
.The text was updated successfully, but these errors were encountered: