mirror of
https://github.com/samsonjs/vibetunnel.git
synced 2026-04-12 12:25:53 +00:00
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:
parent
ef0f928a89
commit
2815f77b0a
1 changed files with 2 additions and 2 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue