Kyle Van Essen

Results 57 issues of Kyle Van Essen

Due to float addition and subtraction that happens throughout layout, it was common to end up with `210.0` getting turned into `209.999997` (etc) throughout. This was causing needless cache misses....

This PR optimizes calculating the axis measurements in `Stack` elements (`Row` and `Column`) when there are N fixed and 1 flexible elements. This generally gets us a ~50% speedup in...

This fixes an issue where stacks could lay out flexible items with a negative width.

Adds a `Fill` element that allows children to take up all of the space provided by the parent element.

This PR contains a few updates to the `ElementContent` and `Layout` APIs, in order to: - Pass `Environment` (via `LayoutContext`) through to the various measurement and layout functions to ensure...

This PR introduces a `KeyboardReader` type, which allows you to programmatically respond to the keyboard frame as it changes. It does this by maintaining an inner `BlueprintView` which updates when...

This PR introduces a simple way to use `UIPointerInteraction` for Blueprint elements. You will usually just call `.pointerInteraction()` on your element, and that will apply the desired hover effect.

Notes: https://github.com/square/Blueprint/pull/55/files#r400567818