mirror of
https://github.com/open-webui/open-webui.git
synced 2026-11-23 14:10:42 -05:00
fix(analytics): read activity scroll position from the scrolled element (#33469)
This commit is contained in:
1 file changed
+3
-3
@@ -541,9 +541,9 @@
|
||||
class="overflow-y-auto overscroll-contain"
|
||||
style:height={`${Math.min(visibleIds.length * activityRowHeight, 336)}px`}
|
||||
style:max-height="50vh"
|
||||
on:scroll={() => {
|
||||
if (activityScrollTop !== activityViewport.scrollTop) {
|
||||
activityScrollTop = activityViewport.scrollTop;
|
||||
on:scroll={(e) => {
|
||||
if (activityScrollTop !== e.currentTarget.scrollTop) {
|
||||
activityScrollTop = e.currentTarget.scrollTop;
|
||||
hideTooltip();
|
||||
}
|
||||
}}
|
||||
|
||||
Reference in new issue
Block a user