Repository navigation
Conversation
🦋 Changeset detectedLatest commit: 5059972 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
- Clamp tooltip placement to the visual viewport so zoomed pages do not place it off screen - Apply touch-style above-pointer placement to pen input as well as fingers
0cbf9a0 to
5059972
Compare
commit: |
|
@ntainy (continued conversation from: #924 (comment)) Great feedback! I made those changes here (including the rebase). When you get a chance, could you see how these work for you? Thanks! |
built with Refined Cloudflare Pages Action⚡ Cloudflare Pages Deployment
|
Bundle Size AnalysisUse-Case ScenariosCore (7 changed)
Base (agnostic) (4 changed)
Base (layer-specific) (3 changed)
Cartesian charts (27 changed)
Geo (3 changed)
Hierarchy (4 changed)
Graph / network (4 changed)
Components (1 changed)
Worst case (1 changed)
Understanding this report
|
|
hi, sorry for the slow reply, got buried for a bit pulled and tested properly (arc/chromium at 360px vs 2.5.1). works really really well!
the only thing noticeable (not a regression though) is that with default contained container, if the box is wider than the container in the first place (minus y axis gutter), visibleBounds falls back to the container and so the left clamp wins, so on a 360px phone 310px box ended up still past the right edge even though it would have fit on the screen. idk what's the right solution for that would be -- maybe for portaled tooltips fall back to the visible viewport before the container? though a good moment to +1 again for making the contained window default in v3 as it doesn't have this issue :) couple small additional things that were noticed by an agent in a separate pass:
Thanks again! and sorry for such a huge delay ps: also I didnt check ios safari, so I still have no clue how it would look there |
No description provided.