Framework7-Vue input autofucus not working during the second time

I’ve created an example to demo the question.
F7 input does not autofocus during the second time I enter the “about” page.
How should I make it autofocus everytime?

<f7-list-item>
  <f7-label>Name</f7-label>
  <f7-input type="text" placeholder="Name" :autofocus="true"></f7-input>
</f7-list-item>

https://jsfiddle.net/enylin/1qcm8v50/22/

Thanks

It is not an F7 issue because same happens with usual <input> so it is better to call .focus() method on required input https://jsfiddle.net/vL6mrsef/

1 Like