This website works better with JavaScript.
Home
Explore
Help
Sign In
closed-social
/
mastodon
Watch
3
Star
0
Fork
2
Code
Issues
5
Pull Requests
0
Projects
0
Releases
3
Wiki
Activity
Browse Source
[Glitch] Fix emoji picker being always displayed
Port
c402c291f4
to glitch-soc Signed-off-by: Thibaut Girka <thib@sitedethib.com>
closed-social-glitch-2
Takeshi Umeda
5 years ago
committed by
ThibG
parent
a5398c3df8
commit
8f924eb961
2 changed files
with
10 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
app/javascript/flavours/glitch/features/compose/components/compose_form.js
+9
-1
app/javascript/flavours/glitch/styles/components/composer.scss
+ 1
- 1
app/javascript/flavours/glitch/features/compose/components/compose_form.js
View File
@ -335,7 +335,7 @@ class ComposeForm extends ImmutablePureComponent {
/
>
<
/
d
i
v
>
<
div
className
=
'emoji-picker-wrapper'
>
<
div
className
=
{
`
emoji-picker-wrapper
${
this
.
props
.
showSearch
?
'emoji-picker-wrapper
--hidden
'
:
''
}
`
}
>
<
EmojiPicker
onPickEmoji
=
{
handleEmoji
}
/
>
<
/
d
i
v
>
+ 9
- 1
app/javascript/flavours/glitch/styles/components/composer.scss
View File
@ -289,12 +289,20 @@
}
}
.
emoji-picker-wrapper
,
.
autosuggest-textarea__suggestions-wrapper
{
position
:
relative
;
height
:
0
;
}
.
emoji-picker-wrapper
{
position
:
relative
;
height
:
0
;
&
.
emoji-picker-wrapper--hidden
{
display
:
none
;
}
}
.
autosuggest-textarea__suggestions
{
display
:
block
;
position
:
absolute
;
Write
Preview
Loading…
Cancel
Save