Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

建议:提供向上滚动加载更多的交互 #59

Open
winter60 opened this issue May 7, 2024 · 4 comments
Open

建议:提供向上滚动加载更多的交互 #59

winter60 opened this issue May 7, 2024 · 4 comments

Comments

@winter60
Copy link

winter60 commented May 7, 2024

目前是向下滚到底增加更多,希望增加一种向上滚动加载更多,可配置。
某些场景可能更适合,比如dailynotes 回顾起来更直观,向上滚动,从最近往最早动态加载。
当然,F佬觉得值得话再采纳😊

可能要改的:

  1. sql要改
  2. 默认滚到底
  3. 向上滚动到头再加载更多
  4. 可全局或单独配置向上或向下。
@frostime
Copy link
Owner

frostime commented May 8, 2024

更简单一点的方案,加两个按钮:

  • 滚动到最上面或者最下面
  • 逆序展示

@winter60
Copy link
Author

winter60 commented May 8, 2024

更简单一点的方案,加两个按钮:

都行,感谢感谢,做了才知道,已发电

frostime added a commit that referenced this issue May 8, 2024
建议:提供向上滚动加载更多的交互 #59
@frostime
Copy link
Owner

frostime commented May 8, 2024

你看一下 v0.7.1 版吧。

我加了一个逆序按钮,感觉似乎已经能覆盖到你提到的需求了。

recording

至于「最上面或者最下面」,我后面打算做跳页查看,囊括这个功能了,就先不单独做了。

@winter60
Copy link
Author

winter60 commented May 8, 2024

你看一下 v0.7.1 版吧。

我加了一个逆序按钮,感觉似乎已经能覆盖到你提到的需求了。

我尝试了下,逆序并没有满足哦,仍然是从头往下滚动再加载的。期待的是这种效果:

5d09013c9a81beac9a6746c41a70b946.mp4

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

No branches or pull requests

2 participants