Before this change, Turbo would always focus on the first element with [autofocus] when a page refresh with morphing happened (default behavior inherited from PageRenderer). With this change, it will never autofocus when a page refresh with morphing happens.
This is meant to solve the problem where you are writing on a form, and it loses the focus because a broadcasted page refresh arrives.
Before this change, Turbo would always focus on the first element with
[autofocus]
when a page refresh with morphing happened (default behavior inherited fromPageRenderer
). With this change, it will never autofocus when a page refresh with morphing happens.This is meant to solve the problem where you are writing on a form, and it loses the focus because a broadcasted page refresh arrives.