iOS18 Safari: Page content loses focus after switching to a new tab with chrome.tabs.update

Hi,

I have a Safari extension that works well in iOS before 18, which can switch to a different tab with chrome.tabs.update back and forth by keyboard shortcuts. With iOS 18, as Page content loses its focus, it is impossible to trigger content script directly, I have to manually touch screen to put focus back to page content so that keystroke can trigger my content script to talk with background to call chrome.tabs.update to switch back.

Please bring focus to page content after switching to a new tab with chrome.tabs.update.

Our engineering teams need to investigate this issue, as resolution may involve changes to Apple's software. I'd greatly appreciate it if you could open a bug report, include sysdiagnose, and post the FB number here once you do. Bug Reporting: How and Why? has tips on creating your bug report.

iOS18 Safari: Page content loses focus after switching to a new tab with chrome.tabs.update
 
 
Q