Skip to content

Conversation

Sepush
Copy link

@Sepush Sepush commented May 26, 2025

Issue

seems scrollTo({postion:'bottom'}) can not reach the bottom when scollend

This is related to: tusen-ai/naive-ui#6596

Solution

It's possible that the browser thinks it's scrolled to the bottom because it doesn't fully render when scrolling.

use requestAnimationFrame to calc whether render completed by scrollHeight and the of all item

Copy link

vercel bot commented May 26, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
vueuc ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 26, 2025 9:39am

Signed-off-by: Artea <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant