No outline for emoji selector when invisible, but this time it actually works
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
@ -68,6 +68,13 @@
|
||||
transform: translateY(2px);
|
||||
}
|
||||
|
||||
.emoji-react-selector-container {
|
||||
&:hover,
|
||||
&:focus {
|
||||
outline: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.emoji-react-selector {
|
||||
position: absolute;
|
||||
display: flex;
|
||||
@ -76,7 +83,6 @@
|
||||
border-radius: 9999px;
|
||||
box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.1);
|
||||
opacity: 0;
|
||||
outline: 0;
|
||||
pointer-events: none;
|
||||
transition: 0.1s;
|
||||
z-index: 999;
|
||||
@ -84,7 +90,6 @@
|
||||
&--visible,
|
||||
&--focused {
|
||||
opacity: 1;
|
||||
outline: unset;
|
||||
pointer-events: all;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user