fix: Ensure tablets receive all mobile features

- Pass isMobile instead of isPhone to setupMobileFeatures and setupEventListeners
- Tablets need VirtualKeyboard API, Visual Viewport API, and touch event listeners
- Only the keyboard layout should differ between phones and tablets, not core mobile features
This commit is contained in:
Peter Steinberger 2025-07-07 00:53:04 +01:00
parent ef0f928a89
commit 2815f77b0a

View file

@ -249,8 +249,8 @@ export class LifecycleEventManager extends ManagerEventEmitter {
// Listen for window resize to handle orientation changes and viewport size changes
window.addEventListener('resize', this.handleWindowResize);
this.setupMobileFeatures(isPhone);
this.setupEventListeners(isPhone);
this.setupMobileFeatures(isMobile);
this.setupEventListeners(isMobile);
}
private setupMobileFeatures(isMobile: boolean): void {