dydxprotocol / v4-native-ios

Other
1 stars 0 forks source link

fix slow scroll of trades #274

Closed mike-dydx closed 5 days ago

mike-dydx commented 5 days ago

slack report

note, the removed code was added a while ago to make tab transitioning smoother. Removing it adds more jagged tab switching, but with the benefit of smoother trades scrolling.

For some reason, ScrollViewReader does not work within the class context, but moving it into a struct: View context made it work.

https://github.com/user-attachments/assets/3b5a6d60-50e1-4490-aa51-62b49d4597b5