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

08Insert That Lands Exactly at a Saved Cursor-Position Value

The cursor-position value right before the input loses focus is saved, and picking an emoji returns to the character gap that value pointed to and inserts it there, so the cursor never just gets pushed to the end.

Best forLong comment or message inputs where emoji land mid-sentence

savedStartselectionStartsetSelectionRange
Insert That Lands Exactly at a Saved Cursor-Position Value
Open in a new tab

08 Insert That Lands Exactly at a Saved Cursor-Position Value — Measured area 2.754% · moving frames 8/23Original by GODRICH · SCSS and React ship in the zip · Emoji Picker: 9 Patterns by One Value

The post this demo lives in

Emoji Picker: 9 Patterns by One Value - preview of all 9 demosEmoji Picker: 9 Patterns by One ValueNine emoji picker patterns: The panel flips upward only when the space-below value is smaller than its height, variants See all demos in this post

If you like this effect - similar demos