nextjs-toploader icon indicating copy to clipboard operation
nextjs-toploader copied to clipboard

Disable behaviour for anchor tags

Open 12emir opened this issue 2 years ago • 2 comments

Is it possible to disable bar animation for a tags with '#' ?

12emir avatar Apr 07 '23 09:04 12emir

I have the same issue when letting the user download a file by using this:

export function downloadBlob(blob: Blob, fileName: string): void {
  const link = document.createElement("a");
  link.href = URL.createObjectURL(blob);
  link.download = fileName;

  document.body.appendChild(link);
  link.click();

  document.body.removeChild(link);
}

baba43 avatar Aug 30 '23 12:08 baba43

Seems like https://github.com/TheSGJ/nextjs-toploader/issues/61#issuecomment-1853335459 fixes this and some other issues

donovanglover avatar Dec 31 '23 15:12 donovanglover