compose modal should auto-focus

This commit is contained in:
Nolan Lawson 2018-04-02 20:49:33 -07:00
parent cf2b6bfe2f
commit 5b6af3c8d5

View file

@ -1,5 +1,5 @@
<ModalDialog :label :shown :closed :title background="var(--main-bg)"> <ModalDialog :label :shown :closed :title background="var(--main-bg)">
<ComposeBox realm="dialog" size="slim" on:postedStatus="onPostedStatus()" /> <ComposeBox realm="dialog" size="slim" autoFocus="true" on:postedStatus="onPostedStatus()" />
</ModalDialog> </ModalDialog>
<script> <script>
import ModalDialog from './ModalDialog.html' import ModalDialog from './ModalDialog.html'