Feature request: Making autofocus optional
mesuthabibpasa opened this issue · 1 comments
mesuthabibpasa commented
Is your feature request related to a problem? Please describe.
Autofocus makes mobile users' life harder when text is long enough.
Describe the solution you'd like
It would be nice to have the option to disable autofocus
Describe alternatives you've considered
Declaring a function to clear focus on the "step" event can also solve the problem however step event is not fired for the first question displayed I guess
spinn commented
Hi @mesuthabibpasa,
thank you for your feature request. This has been implemented in this commit: 93bad19. It will of course also be included when we build the new npm version.
To use this, simply add v-bind:autofocus="false" when you initialize VueFlowForm, eg.:
<flow-form
v-bind:questions="questions"
v-bind:autofocus="false"
>
</flow-form>