Open BVVLD opened 1 month ago
Suggestion: to achieve this, autofocus triggering should be inverted. It should be possible with creating a new directive, which would call focus function when element finishes loading. Some similar solutions were already implemented before. Examine result loading callbacks for reference.
Description Current autofocus mechanics are using timeouts to synchronize with elements animations and loading. As mentioned in PR#323, this is not an ideal solution and should be refactored to remove the timeout code.