()
| 432 | const base = () => (layout === 'full' ? current.full : current.card); |
| 433 | // The rubber band at the page's top is not the drawer coming down. |
| 434 | const restingY = () => |
| 435 | layout === 'full' ? current.full + Math.max(0, window.scrollY) : restY; |
| 436 | const clearMoving = () => |
| 437 | styleMoving({ transform: null, transition: null, 'will-change': null }); |
| 438 | const present = (y: number) => { |