tldraw/packages
Lu Wilson e2a03abf5c
Fixed actions menu opening in wrong direction on mobile (and add an inline layout example) (#2730)
This PR changes the direction of the actions menu popover when it's at
the bottom of the screen.
It's now consistent with all other menu dropdowns (or dropups?).

This PR also adds an example that demonstrates the Tldraw component at
various different size points. It was helpful when trying out this
change. And I'm using it to demonstrate more incoming changes.


![image](https://github.com/tldraw/tldraw/assets/15892272/bca34e47-9612-44f0-b432-e5e6dc4dda35)

### Change Type

- [x] `patch` — Bug fix

[^1]: publishes a `patch` release, for devDependencies use `internal`
[^2]: will not publish a new version

### Test Plan

1. Open the inline example.
2. Click the actions overflow button.
3. Make sure it appears above the button, instead of below.

- [ ] Unit Tests
- [ ] End to end tests

### Release Notes

- Dev: Fixed the actions menu opening in the wrong direction.
2024-02-07 16:41:32 +00:00
..
assets i18n: add HR 🇭🇷 (#2778) 2024-02-07 16:27:27 +00:00
editor error reporting: rm ids from msgs for better Sentry grouping (#2738) 2024-02-07 16:30:46 +00:00
state Unbiome (#2776) 2024-02-07 16:02:22 +00:00
store Unbiome (#2776) 2024-02-07 16:02:22 +00:00
tldraw Fixed actions menu opening in wrong direction on mobile (and add an inline layout example) (#2730) 2024-02-07 16:41:32 +00:00
tlschema i18n: add HR 🇭🇷 (#2778) 2024-02-07 16:27:27 +00:00
tlsync [dotcom] TLSyncRoom tidy (#2712) 2024-02-05 17:25:07 +00:00
utils Unbiome (#2776) 2024-02-07 16:02:22 +00:00
validate error reporting: rm ids from msgs for better Sentry grouping (#2738) 2024-02-07 16:30:46 +00:00