Skip to content

v0.0.0-alpha.4

Pre-release
Pre-release

Choose a tag to compare

@lrstanley lrstanley released this 14 Nov 07:55
· 4 commits to master since this release
v0.0.0-alpha.4
146f9f6

✨ Highlights

  • Floating layers: Layer(menu).Float() places and draws a layer against the whole screen rather than the
    overlay it's declared in, so a dropdown inside a dialog or a form row isn't cut off at its edge. It's still part of
    what it's declared in: anchoring, on.ClickOutside, modal scopes, and focus treat it that way, and it's drawn over
    the dialog it's in. See the new dropdowns example.
  • Anchored layers flip: a layer anchored with AnchorTo that doesn't fit on the side asked for goes on the
    opposite one when it fits there, such as a dropdown opening above its field near the bottom of the screen. A corner
    flips each way on its own, and Offset is mirrored with it. A component in the layer reads the side it went on from
    Context.Side.

⚠️ Behavior changes

  • Anchored layers flip by default. One that fits on neither side is shifted over its node, as before.

Changelog

✨ New Features

  • b1d1c13: layers: float a layer past its overlay, and flip anchored ones (@lrstanley)

🧹 Misc

1 change
  • df1f716: move viewport text, selection, and memo internals out of root (@lrstanley)

Full changelog: v0.0.0-alpha.3...v0.0.0-alpha.4

📦 Install

go get bloomfx.dev/bloom@v0.0.0-alpha.4

Docs: bloomfx.dev/bloom

💬 What to do next?