JavaScript emoji picker. Any app, any framework.
@picmo/popup-picker
] Fixed incorrect scroll position when reopening popup under certain conditions.@picmo/popup-picker
] Added a new onPositionLost
option to configure the behavior of the popup if the reference element is lost.@picmo
] Click event propagation is stopped when selecting an emoji. This fixes an issue where the picker would close a popup when selecting an emoji from the recents category, if hideOnEmojiSelect
is set to false
.@picmo/popup-picker
] Fixed positioning/focus issues when opening a popup.@picmo/popup-picker
] Fixed animation order to prevent an incorrectly positioned picker from appearing momentarily before "jumping" to the final location and animating.@picmo/popup-picker
] Fixed type of options
parameter on the toggle
method to be optional as documented.picmo
] Added ability to update certain picker options after creation.picmo
] Improved layout of category tabs when picker is very narrow or very wide.@picmo/popup-picker
] Added ability to specify new reference and trigger elements when opening the picker.process.env
appearing in build output.picmo
packages was bundled with all add-on packages@picmo/popup-picker
] Fixed an issue where the variant popup would not be reset when closing the picker** Note: This release has a few issues with the UMD and dependency bundling, it should be avoided; use 5.5.1 or newer instead.
picmo
] Added a new auto
autofocus option that will choose a target based on available elements.picmo
] Added a global configuration store with an injectStyles
option to control automatic CSS injection.picmo
] Fixed invalid scrollbar CSS properties.@picmo/popup-picker
] Added type="button" to the popup close button to prevent accidental form submission.@picmo/popup-picker
] Focus is returned to the trigger when closing only when pressing Escape or selecting an emojipicmo
] Removed inline style from SVG icons that was causing Content-Security-Policy problems (#224)picmo
] Fixed an issue where the initial category button would steal the focus on creation in an inline picker.picmo
] Fixed default options processing so that a LocalStorageProvider
isn't instantiated immediately upon importing PicMo; this was causing errors in environments like Next.js where localStorage
is not available. Now localStorage
is only referenced when calling createPicker
.picmo
] Added new autoFocus
option to better control autofocus behavior (or disable it entirely).picmo
] Deprecated the autoFocusSearch
option in favor of autoFocus
.@picmo/popup-picker
] Upgraded to use the floating-ui library (successor to Popper.js).@picmo/renderer-twemoji
] Made SVG container display: none
to fix popup positioning issues.