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

main分支有几个细节问题 #40

Open
niq2003 opened this issue Mar 28, 2024 · 3 comments
Open

main分支有几个细节问题 #40

niq2003 opened this issue Mar 28, 2024 · 3 comments

Comments

@niq2003
Copy link

niq2003 commented Mar 28, 2024

环境:nodev18.18.2 pnpm dev:h5 main分支
在调研的时候发现3个小问题:

  1. 示例tab下的基本功能列表页面下拉到底显示不全
    image
  2. 基本功能列表页面增加onReachBottom钩子滚动到底无法触发,发现将layout下default.vue中overflow: auto;去掉能正常触发,不确定会不会影响其他地方
  3. 滚动tab页面的滚动条到某个位置,来回切换回来,会重置页面的滚动条,影响体验

另外,希望能支持自定义tab功能,感谢开源作者的辛苦付出~

@codercup
Copy link
Owner

精力有限,欢迎PR。

@orangelckc
Copy link

1+2 应该是页面布局的问题吧,我现在的方案都是页面flex+col+中间的部分flex-grow+overflow-auto撑满,不然还要计算中间的可用高度
3 如果有解决方案,踢我一脚,谢谢~

@codercup
Copy link
Owner

codercup commented Apr 2, 2024

1+2 应该是页面布局的问题吧,我现在的方案都是页面flex+col+中间的部分flex-grow+overflow-auto撑满,不然还要计算中间的可用高度 3 如果有解决方案,踢我一脚,谢谢~

3的话要改用 独立的 view-scroll , 如果还想实现所有滑动切换的话,再加上 swipe 就好了。

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

3 participants