如何让list一致保持在最后一个 #11670
williamxhero
started this conversation in
General
如何让list一致保持在最后一个
#11670
Replies: 1 comment
-
可以参考下这个:https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollTo |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
想用list做一个列表,并且添加新条目以后,自动滚动到最后一个。目前是保持当前滚动位置,所有新添加的条目,都会超出屏幕,需要再次手动滚动。
感谢。
这个是 官网的例子:
实际上下面还有13,14,15。。。怎么能让它直接滚动到最后一个item?
Beta Was this translation helpful? Give feedback.
All reactions