Web Configurator tablet detection fails in Apple’s Stage Manager mode

On an iPad Pro, when in Stage Manager mode, even when the browser is (almost) full screen, it’s not detected as a tablet and therefore the Web Configurator is not available.