()
| 430 | moving.forEach((element) => applyStyle(element, props)); |
| 431 | }; |
| 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; |