(el: HTMLElement)
| 50 | |
| 51 | /** Clear height lock when streaming finishes */ |
| 52 | export function unlockStreamHeight(el: HTMLElement): void { |
| 53 | el.style.minHeight = ""; |
| 54 | } |
| 55 | |
| 56 | /** Damping factor for stream scroll follow (0–1). Lower = smoother lag. */ |
| 57 | export const DEFAULT_STREAM_SCROLL_EASE = 0.18; |
no outgoing calls
no test coverage detected