-
Notifications
You must be signed in to change notification settings - Fork 1k
Description
Target SharePoint environment
SharePoint Online
What SharePoint development model, framework, SDK or API is this about?
💥 SharePoint Framework
Developer environment
Windows
What browser(s) / client(s) have you tested
- 💥 Internet Explorer
- 💥 Microsoft Edge
- 💥 Google Chrome
- 💥 FireFox
- 💥 Safari
- mobile (iOS/iPadOS)
- mobile (Android)
- not applicable
- other (enter in the "Additional environment details" area below)
Additional environment details
No response
Describe the bug / error
The new PDF Preview (Embed.aspx) is 'stealing' the users focus automatically on load and preventing the keyboard navigation for both SharePoint Online standard out of the box document library views and any other usage in SPFx.
Steps to reproduce
Open any SharePoint document library, add some documents containing PDF files and others. Important: open the details sidebar so the preview is loading. Click on some file in the document library and use the keyboard to navigate up and down. See that it is working for office filetypes, txt files and so on, but once it reaches a PDF file rendering the preview in the embed.aspx the focus is now in the preview iframe and the sidebar.
Expected behavior
I can navigate the documents in the document library with the keyboard for all document types. The preview is never automatically stealing focus unless the user wants it to be focused.
