fix(stage): unify mobile keyboard avoidance (#2426)
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user