Skip to content

Commit

Permalink
isStretchableOnFocusの削除
Browse files Browse the repository at this point in the history
  • Loading branch information
reiroop committed Oct 19, 2024
1 parent bd1e5f5 commit dde163e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
1 change: 0 additions & 1 deletion src/components/Main/MainView/MessageInput/MessageInput.vue
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
:channel-id="channelId"
:is-posting="isPosting"
:shrink-to-one-line="isMobile && isLeftControlsExpanded"
is-stretchable-on-focus
@focus="onFocus"
@blur="onBlur"
@add-attachments="onAddAttachments"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
:data-simple-padding="simplePadding"
:data-shrink-to-one-line="shrinkToOneLine"
:data-disable-height-limit="disableHeightLimit"
:data-is-stretchable-on-focus="isStretchableOnFocus"
:data-is-mobile="isMobile"
:data-is-firefox="firefoxFlag"
data-testid="message-input-textarea"
Expand Down Expand Up @@ -56,7 +55,6 @@ const props = withDefaults(
simplePadding?: boolean
shrinkToOneLine?: boolean
disableHeightLimit?: boolean
isStretchableOnFocus?: boolean
}>(),
{
modelValue: '',
Expand All @@ -65,7 +63,6 @@ const props = withDefaults(
simplePadding: false,
shrinkToOneLine: false,
disableHeightLimit: false,
isStretchableOnFocus: false
}
)
Expand Down Expand Up @@ -175,11 +172,6 @@ $vertical-padding: 8px;
&[data-is-mobile='false'] {
max-height: 160px;
}
&[data-is-stretchable-on-focus='true']:focus {
max-height: calc(
100% * 2
); // 320px if mobile = false, 140px if mobile = true
}
}
&[data-disable-height-limit='true'] {
max-height: none;
Expand Down

0 comments on commit dde163e

Please sign in to comment.