Skip to content

Commit

Permalink
Merge pull request #3260 from specify/issue-2733
Browse files Browse the repository at this point in the history
Fix scroll bar when exporting to TSV
  • Loading branch information
grantfitzsimmons authored Apr 6, 2023
2 parents a89a552 + 2821482 commit 4854a2a
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ export const downloadFile = async (
): Promise<void> =>
new Promise((resolve) => {
const iframe = document.createElement('iframe');
iframe.classList.add('absolute', 'hidden');
iframe.addEventListener('load', () => {
if (iframe.contentWindow === null) return;
const element = iframe.contentWindow.document.createElement('a');
Expand Down

0 comments on commit 4854a2a

Please sign in to comment.