Hold live tape updates while scrolled away
- pause incoming rows when a tape is not at top - show missed item count only while new data is hidden - wire list refs so scroll state can resume cleanly
This commit is contained in:
parent
623f7df113
commit
749528c114
2 changed files with 66 additions and 19 deletions
|
|
@ -835,11 +835,26 @@ h3 {
|
|||
}
|
||||
|
||||
.missed-count {
|
||||
width: 86px;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: flex-start;
|
||||
max-width: 0;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
font-size: 0.72rem;
|
||||
color: var(--accent);
|
||||
text-align: right;
|
||||
white-space: nowrap;
|
||||
opacity: 0;
|
||||
transform: translateX(6px);
|
||||
transition:
|
||||
max-width 180ms ease,
|
||||
opacity 140ms ease,
|
||||
transform 180ms ease;
|
||||
}
|
||||
|
||||
.missed-count-visible {
|
||||
max-width: 92px;
|
||||
opacity: 1;
|
||||
transform: translateX(0);
|
||||
}
|
||||
|
||||
.list {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue