mirror of
https://github.com/open-webui/open-webui.git
synced 2026-11-17 03:03:27 -06:00
fix(analytics): read activity scroll position from the scrolled element (#33469)
This commit is contained in:
@@ -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