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 ExcelAttach files button does nothing in a small pop-up window in Chrome 157 or Edge 157
Fix
- 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.userAgentcontainsChrome/157orEdg/157. - 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.
- 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.
- 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. - 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"); - 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(); }); - 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.displayDialogAsyncsized 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. - 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.
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
- Chrome 157 also changed file drops: dropping a file from Outlook or from an AppData folder onto a react-dropzone 14 or 15 drop zone fails silently. See the react-dropzone SecurityError fix.
- The issue names the switch
--disable-features=FileChooserMinWindowSize. Office sets the WebView2 arguments for add-ins itself, so an add-in can't pass it. In your own host it turns off a protection against spoofed dialogs; resize the control instead. We did not test the switch. - In Word, one developer saw a
cancelevent on the input right after the click. The Outlook report says no event fires. Don't build the hint on that event alone. - A scripted
input.click(),showPicker()and alabelclick are all suppressed the same way while the pane is narrow (reported for Word). - If Microsoft changes WebView2 or Office so that task panes pass the check, we will add the version here. Until then, a full Office repair does not fix it: one report says the problem came back after a repair.
Sources
- Chromium source, tag 157.0.8103.50: chrome/browser/file_select_helper.cc (the check and the warning)
- Chromium source, tag 157.0.8103.50: content/public/common/content_features.cc (FileChooserMinWindowSize, on by default)
- Chromium source, tag 156.0.8078.82: the same file without the check
- WebView2Feedback issue #5797: Runtime 157 suppresses input type=file in Outlook add-in task panes
- Microsoft Q&A: MS Word Transcribe feature no longer opens the file picker to upload an audio file
- Chromium release dashboard: Chrome 157 stable for Windows, 3 November 2026
Other errors breaking soon
- GitHub Actions: "Event 'pull_request_target' is not allowed to trigger Actions workflows"
- Unable to display RD Web Access: Chrome 158 and Edge 159 turn off XSLT
- OpenAI Agent Builder shuts down on 30 November 2026: export your workflows, keep ChatKit, move prompt objects
- Claude Sonnet 4.5 retires on 30 November 2026: the 400 errors on Sonnet 5.5 and the fix
- Exchange Online POP and IMAP: TLS 1.0 and 1.1 refused, imap-legacy.office365.com gone
- Windows KB5127648: 802.1X Wi-Fi, wired and VPN sign-in fails (NTLMv1 SSO blocked)
- Firebase: Runtime Node.js 20 was decommissioned
- Firebase Hosting deploy fails: 403 "Permission denied to get service [firebasehosting.googleapis.com]"
- GitHub webhooks: "Failed to connect to host" after GitHub added 3 webhook IP ranges (29 October 2026)
- AWS CodeBuild: Unknown runtime version named '20' of nodejs
- Google Cloud Python: non-supported Python version (3.10)
- Azure OpenAI o1, o3, o3-mini and o4-mini retired on 19 November 2026: 410 Gone
- OpenAI: "The model โฆ has been deprecated" or "Model not found" after a shutdown
- Nextcloud desktop 35.0.1 won't start: "UNIQUE constraint failed: metadata.inode"
- Contact Form 7 6.2: "Composer detected issues in your platform" (PHP 8.3 required)
- Biome 2.6: biome check fails on README.md and YAML files after the upgrade
- pytest 9.2: xdist_group tests run on different workers (--dist loadgroup)
- WordPress 7.2 ignores data-wp-init--, data-wp-watch-- and data-wp-run-- directives
- Ubuntu 26.04 upgrade stops with "Unable to upgrade MySQL" (mysql_native_password accounts)
- Excel for Mac crashes when you refresh a pivot table (version 16.114)
- Outlook.com / Hotmail rejects your email: "Message lacks SPF/DKIM/DMARC Auth Records (AS9031519)"
- HubSpot Pipelines API V1 stops on 4 December 2026: move /crm-pipelines/v1/pipelines calls (and the n8n HubSpot node's stage lists)
- Typer 0.29: 'TyperOption' object has no attribute 'type', click_type and typer._types are gone
- react-dropzone ignores dropped files in Chrome 157: SecurityError on FileSystemFileHandle.getFile()
- Playwright v1.64.1 Docker image now has Node 26: "Cannot read properties of undefined (reading 'prototype')"
- Playwright for Python 1.65 in Docker: driver/node: error while loading shared libraries: libatomic.so.1
- NumPy 2.4+: einsum with optimize=True returns wrong results for bool and small-integer arrays