mirror of
https://github.com/dataease/dataease.git
synced 2026-06-16 20:42:07 +08:00
fix(图表): 修复向下滚动至图表全部可见后,提示轮播未重启的问题
This commit is contained in:
@@ -193,7 +193,7 @@ class G2TooltipCarousel {
|
||||
if (!this.intersectionObserver) {
|
||||
this.intersectionObserver = new IntersectionObserver(this.handleIntersection.bind(this), {
|
||||
root: null,
|
||||
threshold: [0, 0.3, 0.5, 0.7]
|
||||
threshold: [0, 0.3, 0.5, 0.7, 1]
|
||||
})
|
||||
}
|
||||
this.intersectionObserver?.observe(this.newChart.getContainer())
|
||||
|
||||
Reference in New Issue
Block a user