Repository navigation
Two fixes: a sheet can be dragged away by its header or grab handle while its list is scrolled, and maxWidth / maxHeight now work next to .fill, .ratio and .constant sizes, so a sheet can be capped on a wide iPad or Mac window.
Fixed
- A drag that starts outside a sheet's scroll view, on a header or a grab handle, now always moves the sheet. It was ignored while the scroll view was scrolled away from its top, so a sheet with a long list could not be dragged away by its handle until the list had been scrolled all the way back. A drag that starts on the scroll view still scrolls it first, as before.
maxWidth/maxHeightnow win over the size they sit beside. Next to a.fill,.ratioor.constantthat asked for more, both were required constraints and Auto Layout broke one of them, usually the cap. A capped.fill(padding:)width now fills the window up to the cap and is then centered in the safe area, inside its padding; a capped.fillheight keeps the edge its position anchors. A popup without a cap is laid out as before.
Full Changelog: 1.1.0...1.1.1