PDF Preview (Embed.aspx) 'stealing' focus #10270
Labels
area:spfx
Category: SharePoint Framework (not extensions related)
type:bug-confirmed
Confirmed bug, not working as designed / expected.
type:bug-suspected
Suspected bug (not working as designed/expected). See “type:bug-confirmed” for confirmed bugs.
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
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.
The text was updated successfully, but these errors were encountered: