UI error when attempting to share a file hosted in a Office 365 Group
Here is how to replicate the error:
Start in Outlook Online.
Click on the name of a Office 365 Group in order to enter it's "portal".
Switch to the "Files" view (do not "Browse the Library or switch to the "Site" view).
View one of the files hosted in the Office 365 group.
Click on the "Share" button. Nothing will happen.
Looking at the developer console in Chrome, you can see that the following error occurs when the "Share" button is clicked:
WordViewer.js:2 Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('https://XXXXX.sharepoint.com') does not match the recipient window's origin ('https://outlook.office365.com').
I've confirmed that this is a reproducable bug w/the support team. They recommended that I post this via UserVoice for additional exposure.
FYI: The "Share" button works if you either "Browse the Library" first, or if you switch to the "Site" view for the Office 365 group.