Post

Replies

Boosts

Views

Activity

Comment on Significant scrolling lag when using .focused modifier in large LazyVStack/LazyHStack on tvOS
We have tried these workaround already: Factoring the ForEach into its own view has no effect on that specific issue, we have tried multiple combinations with no success Unfortunately using .focused($isFocused) is not helpful in that case as it lacks the controls of what is currently being focused and the ability to change the focus programmatically, it does improve the performance significantly but we lose all the capabilities of the .focused($binding, equals:) modifier in that case...
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Jun ’25