fix(stage): unify mobile keyboard avoidance (#2426)

This commit is contained in:
Doji
2026-09-02 02:23:24 +08:00
committed by GitHub
parent 59f8d1bc16
commit 9c213115f8
12 changed files with 101 additions and 62 deletions
@@ -106,7 +106,6 @@ defineExpose({
:height="height"
:resolution="live2dRenderScale"
:max-fps="live2dMaxFps"
max-h="100dvh"
@error="emit('error', $event)"
>
<Live2DModel
@@ -152,7 +152,11 @@ import.meta.hot?.dispose(() => {
</script>
<template>
<div ref="containerRef" h-full w-full>
<div
ref="containerRef"
class="w-full"
:style="{ height: `${props.height}px` }"
>
<slot v-if="isPixiCanvasReady" :app="pixiApp" />
</div>
</template>