diff --git a/web/src/components/EmojiPicker.jsx b/web/src/components/EmojiPicker.jsx index da8d4369..e582a9bd 100644 --- a/web/src/components/EmojiPicker.jsx +++ b/web/src/components/EmojiPicker.jsx @@ -76,9 +76,11 @@ const EmojiPicker = (props) => { variant="standard" fullWidth sx={{ marginTop: 0, marginBottom: "12px", paddingRight: 2 }} - inputProps={{ - role: "searchbox", - "aria-label": t("emoji_picker_search_placeholder"), + InputProps={{ + inputProps: { + role: "searchbox", + "aria-label": t("emoji_picker_search_placeholder"), + }, endAdornment: ( diff --git a/web/src/components/PublishDialog.jsx b/web/src/components/PublishDialog.jsx index 6a89aef0..553f9af9 100644 --- a/web/src/components/PublishDialog.jsx +++ b/web/src/components/PublishDialog.jsx @@ -824,8 +824,11 @@ const ExpandingTextField = (props) => { variant="standard" sx={{ width: `${textWidth}px`, borderBottom: "none" }} InputProps={{ - style: { fontSize: theme.typography[props.variant].fontSize, paddingBottom: 0, paddingTop: 0 }, - "aria-label": props.placeholder, + style: { fontSize: theme.typography[props.variant].fontSize }, + inputProps: { + style: { paddingBottom: 0, paddingTop: 0 }, + "aria-label": props.placeholder, + }, }} disabled={props.disabled} />