()
| 44 | // The height of a sheet at the top: its overlay's, or the viewport's |
| 45 | // for a sheet that is not inside one (the menu sheet). |
| 46 | const measureFull = () => |
| 47 | panel.closest<HTMLElement>('.shell-sheet-overlay')?.clientHeight ?? |
| 48 | window.visualViewport?.height ?? |
| 49 | window.innerHeight; |
| 50 | |
| 51 | // The settle that is still running, so a new one or a new drag ends it. |
| 52 | let endSettle: () => void = () => undefined; |
no outgoing calls
no test coverage detected