Can repro on Meta on iOS, not seeing any errors in the console.
Confirming the same issue on Android here on Meta.
I fixed the egregious issue with:
I think this may have been caused by @daniel’s change here:
There is still one more issue open here, when you drag all the way to the bottom timeline does not close (it only closes if you drag to a specific number, not the extra buffer at the end)
@daniel can you have a look at ^^^^
@martin 这确实仍然是一个问题,而且在移动设备上情况甚至更糟。
假设一个主题有 30 条帖子,其中最后一条帖子非常大。尝试使用移动滑块(即移动视图,然后点击 30/30 以调出移动滑块)。
-
当你导航到最后一条帖子时,它不会关闭;但导航到其他任何帖子时,它会关闭。
-
如果最后一条帖子非常大,在移动设备上的位置会不正确……你无法看到最后一条帖子的末尾。
@sam 我已经找到滑块在超出时间线时无法关闭的原因,现在该问题已修复。最后一篇帖子末尾的显示问题,只是我之前提交的那个 PR 带来的连带影响。我的解决方案是:如果最后一篇帖子较长,就将其向上回退 1/10 的高度,这样应该就能看到帖子的末尾了。例如,修复前的效果如下:
修复后的效果:
如果这点文字仍然太小,我们可以调整为回退 1/5 的帖子高度?如果我们直接回退到帖子顶部,又会回到最初的问题:无法滚动超过大帖子的底部。
我觉得这个主意不错,我们试试看。


