ChatGPTNextWeb / ChatGPTNextWeb/NextChat

[Bug] Wrong loading while scrolling

Open
#3,409 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
88.8k
Forks
59.1k
PR merge metrics
No merged PRs in 30d

Description

Please re-open this issue. @Yidadaa

The scroll and window height inside, when using the PWA of ios or the webview of MAC OS safari, will trigger renderings to the top and bottom.

This may be caused by the way scroll events are handled differently in PWA on iOS or Safari WebView on MacOS than in other environments.

1. Maybe the updates between requestAnimationFrame and react are at different paces?

2. Or is it caused by the native sliding optimization of mac and ios?

3. Try adding Debounce to control it.

https://github.com/Yidadaa/ChatGPT-Next-Web/issues/3088

it happened on my phone at 16.5 IOS wrapping as a PWA.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.