emoji-picker-react
emoji-picker-react copied to clipboard
category selecting the wrong category
when I click on a category it selects the one before it, I gotta click like 2 times to get to the right one, it's since I added this css:
--epr-emoji-size: 30px;
--epr-hover-bg-color: #181a28 !important;
--epr-search-input-bg-color: #1e202e;
--epr-search-input-bg-color-active: #1e202e;
--epr-category-label-bg-color: transparent;
--epr-text-color: #ccc;
--epr-search-border-color: #297bff;
--epr-dark-category-icon-active-color: transparent;
}
.EmojiPickerReact {
display: grid;
}
.EmojiPickerReact .epr-body {
display: flex;
border-bottom: 1px solid #181a28;
flex-direction: column;
margin-bottom: 45px;
}
.epr_-xm0i1t {
margin-top: 5px !important;
}
.EmojiPickerReact .epr-category-nav {
display: flex;
position: absolute;
bottom: 0;
left: 50%;
transform: translateX(-50%) translateY(655%);
z-index: 1;
}
.EmojiPickerReact .epr-category-nav .epr-btn {
border-radius: 5px;
margin-right: 8px;
position: relative;
}
.EmojiPickerReact .epr-category-nav .epr-btn:last-child {
margin-right: 0;
}
.EmojiPickerReact .epr-category-nav .epr-active::after {
content: "";
position: absolute;
left: 0;
right: 0;
height: 8px;
bottom: -17.5px;
background: #1876e2;
border-radius: 5px;
}