Upload button does nothing in Office panes and small windows: "File chooser dialog was suppressed" (400x300)

File chooser dialog was suppressed because the top-level window size is smaller than the minimum required size (400x300).

Short answer: Chromium 157 no longer opens a file picker from a window smaller than 400x300 pixels. Office add-in task panes are usually narrower than 400, so Upload buttons (Word's Transcribe, Copilot, add-ins) do nothing after WebView2 Runtime 157 installs. Users fix it by dragging the pane wider than 400 pixels. Developers should open pop-ups at 400x300 or larger and show a hint in narrow panes.

Your add-in or web app, and no time for this? I add the size check and the hint, or resize the pop-up, and send you a pull request within 48 hours: $49, card, no account. The free steps are below.

Checked on 11 November 2026 against the sources below.

Why it happens

Chromium 157 added a check in chrome/browser/file_select_helper.cc: if the top-level window is smaller than 400x300, the file chooser is not shown and the console gets the warning above. The source comment says it exists "to mitigate UI occlusion spoofing" (crbug.com/479258455). The feature behind it, FileChooserMinWindowSize, is on by default and does not apply on Android. Folder uploads (webkitdirectory) go through the same check, and the same file cancels a chooser that is already open when the window shrinks below that size. In Office on Windows the WebView2 control that hosts the add-in counts as the top-level window, and a task pane is normally narrower than 400 pixels. Chrome 157 reached Windows stable on 3 November 2026; users report that WebView2 Runtime 157.0.4341.42 arrived on 5 and 6 November. How we checked (11 November 2026): we read Chromium's source at two release tags. 157.0.8103.50 has the check, the 400x300 constant and the exact warning text; 156.0.8078.82 has none of them. The workaround is confirmed by users, not reproduced by us: four people in the WebView2 issue (add-ins for Outlook, Word and Excel, and a Chrome pop-up) say the picker opens again once the pane or window is wider than about 400 pixels. In a Microsoft Q&A thread about Word's Transcribe pane (Upload audio does nothing on Version 2610, from 9 November), four more people say that widening the pane fixed it. That thread does not show the console warning, so the link to this cause rests on the same dates and the same cure. We do not have Office desktop on Runtime 157 to test here. Microsoft has not announced a fix in the issue or the thread as of 11 November 2026.

You may also see

Word: Home > Dictate > Transcribe > Upload audio does nothing, no file picker opens (Version 2610)
Upload or Browse button does nothing in an Outlook, Word or Excel add-in task pane
"Upload images and files" does nothing in the Copilot pane of desktop Excel
Attach files button does nothing in a small pop-up window in Chrome 157 or Edge 157

Fix

  1. Check it's this: open DevTools for the pane or pop-up (in an Office task pane: right-click, Inspect) and click the file button. The console shows the warning above on every click. The version is 157 or later: navigator.userAgent contains Chrome/157 or Edg/157.
  2. Users, today: drag the left edge of the task pane until it is wider than about 400 pixels, then click the button again. For a small pop-up window, maximise it or make it larger than 400x300. Nothing in the app tells users this, so put it in your support notes.
  3. Word's Transcribe pane: drag the pane's edge toward the document until it is clearly wider, then click Upload audio. Word for the web also works. Quick Repair, Safe Mode and signing out did not help the people in the thread.
  4. Excel's built-in Copilot pane (one report, not our test): the upload works in Excel for the web, and typing / in the pane to reference a OneDrive file still works.
  5. Pop-ups you open yourself: ask for a window of at least 400x300. Both numbers matter, and the user can still shrink the window later, which cancels an open picker.
    window.open(url, "attach", "popup,width=480,height=360");
  6. Task panes and other narrow windows: show a hint before the click is lost. This is a guide, not an exact copy of Chromium's test, so keep a small margin. We have not run it inside Office.
    const MIN_W = 400, MIN_H = 300, MARGIN = 20;
    
    function pickerLikelyBlocked() {
      const m = navigator.userAgent.match(/Chrome\/(\d+)/);
      const chromium157 = m && Number(m[1]) >= 157;
      return chromium157 &&
        (window.innerWidth < MIN_W + MARGIN || window.innerHeight < MIN_H + MARGIN);
    }
    
    fileButton.addEventListener("click", (event) => {
      if (pickerLikelyBlocked()) {
        event.preventDefault();
        hint.textContent = "Drag this pane wider, then click again to choose a file.";
        hint.hidden = false;
      }
    });
    window.addEventListener("resize", () => { hint.hidden = !pickerLikelyBlocked(); });
  7. Office add-ins that can't ask users to resize: Office.js has no call that sets the task pane width. Two options that follow from how the check works, neither tested by us: open the file step in a dialog with Office.context.ui.displayDialogAsync sized well above 400x300, or accept a file dropped onto the pane (a drop does not use the file chooser). If your drop zone uses react-dropzone 14 or 15, read the watch list first.
  8. Your own app that hosts WebView2: make the WebView2 control at least 400x300 when a page needs a file picker. That keeps the protection and the picker.
Your add-in or web app lost its Upload button in a narrow pane or pop-up? I add the size check and a clear hint for users, or resize the pop-up that holds the upload, and send you a pull request that lists every change.

Get it fixed: $49

Pay by card, no account needed. Pull request within 48 hours; not what you asked for, full refund.

How it works: 1. Pay on Gumroad; the checkout asks for the repository. 2. Invite my GitHub user, Donrulezz, to that repository only (private is fine), or email a zip with the failing log to hello@deadlinefix.com. 3. You get a pull request with a list of every change; you review, merge and deploy. I never ask for cloud passwords or production keys.

Who does the work: me, Ashish, the owner of this site, based in India. My public code and tools are on GitHub: github.com/Donrulezz.

Watch out

Sources

Did this fix it?

What's still not working?

Describe what happens and paste any error message. We read every report and fix the page.

Other errors breaking soon

All "breaking soon" fixes