(next: ShellScrollState)
| 28 | const listeners = new Set<() => void>(); |
| 29 | |
| 30 | const emit = (next: ShellScrollState) => { |
| 31 | if (state === next) { |
| 32 | return; |
| 33 | } |
| 34 | state = next; |
| 35 | listeners.forEach((listener) => listener()); |
| 36 | }; |
| 37 | |
| 38 | const onScroll = () => { |
| 39 | // A sheet pins the body while it is open, which reads as a jump to the |
no outgoing calls
no test coverage detected