clipboard onfocus select all

This commit is contained in:
m1k1o 2020-06-19 22:06:41 +02:00
parent fb1647ac10
commit d770133e70

View File

@ -4,7 +4,11 @@
v-if="opened"
@click="$event.stopPropagation()"
>
<textarea ref="textarea" v-model="clipboard" />
<textarea
ref="textarea"
v-model="clipboard"
@focus="$event.target.select()"
/>
</div>
</template>