Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f94204dcd4 |
@@ -38,7 +38,7 @@ interface TabLogsProps {
|
||||
|
||||
const SCROLL_PIN_THRESHOLD_PX = 8;
|
||||
const TAIL_POLL_MS = 10_000;
|
||||
const SCROLLBAR_SIZE = 14;
|
||||
const SCROLLBAR_SIZE = 16;
|
||||
|
||||
const isScrolledToBottom = (el: HTMLElement) =>
|
||||
el.scrollHeight - el.scrollTop - el.clientHeight <= SCROLL_PIN_THRESHOLD_PX;
|
||||
|
||||
Reference in new issue
Block a user