I started using this package a couple days ago, and it's pretty nice! However, I've encountered one issue.
When I scroll normally by swiping my figure up and down, everything works fine. And when I scroll by holding down on the scroll bar and moving my figure up and down, this also works fine as long as I scroll slowly.
However, if I hold on the scroll bar and move my figure up and down quickly, it results in many error messages in the console of the form Bound preference PositionPreferenceKey tried to update multiple times per frame.
Based on this SO answer, the error message is probably due to how the GeometryReader and PositionPreferenceKey interact with each other. But I'm not sure exactly how to fix it.
I started using this package a couple days ago, and it's pretty nice! However, I've encountered one issue.
When I scroll normally by swiping my figure up and down, everything works fine. And when I scroll by holding down on the scroll bar and moving my figure up and down, this also works fine as long as I scroll slowly.
However, if I hold on the scroll bar and move my figure up and down quickly, it results in many error messages in the console of the form
Bound preference PositionPreferenceKey tried to update multiple times per frame.Based on this SO answer, the error message is probably due to how the GeometryReader and PositionPreferenceKey interact with each other. But I'm not sure exactly how to fix it.