When loading a Word add-in in Firefox on Windows, there is a horizontal scrollbar.
The expectation is that there won't be a horizontal scrollbar.
A horizontal scrollbar appears when opening an add-in in Firefox on Windows.
The same issue with the horizontal scrollbar on Firefox happens in our add-in as well. This negatively affects the user experience. The horizontal scrollbar takes up space, is unnecessary, and confusing.
Hey Morgan, thanks for reporting this issue. I was able to reproduce it following your steps and a bug has been logged in our backlog.
Thanks for the update!
This bug manifests, and is easily fixed in
Windows 10: Edge, Firefox
MacOS Catalina: Safari, Firefox
Linux: Firefox
The fix is to give the immediate parent div.AppsForOfficeReactContainer of the taskpane iframe the display: flex css property.
In WordEditorWithCloudFonts.css
div.AppsForOfficeReactContainer {
height: 100%;
display: flex;
}
This fix does not break the correct rendering in Chrome and Chromium on any platform.
@AbidRahman-MSFT, how long will this take to land in production?
With the new Edge Browser Release (Version 83.0.478.54) on Windows, the Scrollbar has disappeared in the Browser (Edge), as well as the Word client.
So the Issue does just remain on FireFox, Safari, and the Word client on MacOS.
Most helpful comment
This bug manifests, and is easily fixed in
Windows 10: Edge, Firefox
MacOS Catalina: Safari, Firefox
Linux: Firefox
The fix is to give the immediate parent
div.AppsForOfficeReactContainerof the taskpane iframe thedisplay: flexcss property.In
WordEditorWithCloudFonts.cssThis fix does not break the correct rendering in Chrome and Chromium on any platform.