-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Description
On iOS native devices, fill items with random heights, scroll a certain distance, and then return to the top and get stuck near the 1st or 2nd item.
This is a reproducible demo, you may need to run an iOS simulator on a real machine or through Simulator.
bug.mp4
You can clone https://github.com/827652549/mako-study-monorepo
pnpm install
cd virtual-list
npm run dev
...copy the url in Simulator iOS
refresh, scroll , then back to top
Using iOS devtools, I found that I was executing into code inside the library, and I guessed that it was a problem with the logic of calculating this piece on an iOS device.
I tried to fix it by doing this
This is just a compatibility fix, but it may not be the best solution, expect a better one!
Metadata
Metadata
Assignees
Labels
No labels