You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 7105e4b
Browse filesBrowse the repository at this point in the historyBrowse files
[feat] Under a finger, on every touch device, when a held finger opens a ContextMenu, the menu now grows out of the finger as iOS 26's does. A small blob of its surface at the press point moves and grows into the menu, overshooting slightly, as it fades in, and the menu's content follows it in from a blur, clipped to it. The menu then wears its own surface again. Under Reduce Motion the menu cross-fades in where it is instead, in 200 ms: nothing moves, grows or blurs. The morph's springs and the size's delay are motion roles a theme can retune; `astryx docs motion` lists them.
Copy file name to clipboardExpand all lines: packages/core/src/ContextMenu/ContextMenu.doc.mjs
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -159,7 +159,7 @@ export const docs = {
159
159
usage: {
160
160
anatomy,
161
161
description:
162
-
'A right-click context menu that appears at the cursor position. Use to provide contextual actions for specific elements or regions without cluttering the UI with visible buttons. Under a finger, on every touch device, a held finger opens it with iOS timing: the trigger starts to grow at 150 ms, and the menu opens at 735 ms, or as soon as the finger lifts after 400 ms. A block trigger then lifts out of the page, as on iOS: a copy of it grows about 13% over a tinted backdrop, and the menu sits beside it, below when it fits and above otherwise.',
162
+
'A right-click context menu that appears at the cursor position. Use to provide contextual actions for specific elements or regions without cluttering the UI with visible buttons. Under a finger, on every touch device, a held finger opens it with iOS timing: the trigger starts to grow at 150 ms, and the menu opens at 735 ms, or as soon as the finger lifts after 400 ms. A block trigger then lifts out of the page, as on iOS: a copy of it grows about 13% over a tinted backdrop, and the menu grows out of the finger to sit beside it, below when it fits and above otherwise.',
0 commit comments