v2.0.0-next.0
Pre-release
Pre-release
Julien-Marcou
released this
07 Jun 21:56
·
4 commits
to 2.0.x
since this release
This is a breaking change release as scrollable-component
(the component used to have a nice custom scrollbar) now targets es2022
which may not work on old browsers. But because custom scrollbars are only supported on modern browsers anyway, you should not use this component if you target old browsers.
- Updated
scrollable-component
dependency to v2.0.0-next.0 - Added
selectedGroup
readonly property, which gives you the current group key (e.g.search
,face-emotion
,food-drink
, ...) - Added
clearSearch()
method to clear the search input/results - Added
focusHeader()
method to focus the component's header - Added
focusContent(skipSearchInput = false)
method to focus the component's content- If
skipSearchInput
is set tofalse
(default value), it focuses the search input when the search tab is selected, otherwise it focuses the first emoji - If
skipSearchInput
is set totrue
, it focuses the first emoji
- If