rechsteiner / Parchment

A paging view with a highly customizable menu ✨
MIT License
3.35k stars 417 forks source link

About swiftUI PageView content scrollview automatically slides to the top #692

Closed lijl closed 4 months ago

lijl commented 10 months ago

When I was using the swiftui. official demo, I nested the ScrollView in the pageview content. When I clicked the item to push to another page, the ScrollView automatically slid to the top. I don't know if this problem is an internal problem of the SDK.

WX20231027-132807@2x

https://github.com/rechsteiner/Parchment/assets/2133154/63b96bd4-95af-42d2-9882-c902cc36867b

@rechsteiner

rechsteiner commented 8 months ago

Hi @lijl! Thanks for the report. Which version of Parchment are you using?

lijl commented 6 months ago

Hi @rechsteiner I ran the latest version today and it seems to have been changed. Thank you so much