mirror of
https://github.com/open-webui/open-webui.git
synced 2026-11-15 09:31:21 +00:00
fix(analytics): read activity scroll position from the scrolled element (#33469)
This commit is contained in:
parent
27eb2d2eff
commit
f0e7d718ca
1 changed files with 3 additions and 3 deletions
|
|
@ -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();
|
||||
}
|
||||
}}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue