GODRICH
#css-animation#button#loader#transition#scroll#dashboard#ui#design-trends

01Cursor position anchor — the clicked coordinate value directly becomes the menu's spawn position

The screen coordinate value where the click happens becomes the menu box's top-left position value as is, and once the menu closes that position value is cleared.

Best forRight-clicking a file list item, right-clicking text inside an editor

positionAt(x, y)GAP = 8menu.style.transform = translate(px,py)
Cursor position anchor — the clicked coordinate value directly becomes the menu's spawn position
Open in a new tab

01 Cursor position anchor — the clicked coordinate value directly becomes the menu's spawn position — Measured area 51.248% · moving frames 7/23Original by GODRICH · SCSS and React ship in the zip · Context Menu UI: 9 Right-Click Menu Patterns

The post this demo lives in

Context Menu UI: 9 Right-Click Menu Patterns - preview of all 9 demosContext Menu UI: 9 Right-Click Menu PatternsOne menu position value is set from the clicked coordinate value, one flips its direction value near a screen edge, and See all demos in this post

If you like this effect - similar demos