Skip to content

Commit

Permalink
isStretchableOnFocusの削除
Browse files Browse the repository at this point in the history
  • Loading branch information
reiroop committed Feb 2, 2025
1 parent da31dd6 commit 0883833
Showing 1 changed file with 0 additions and 8 deletions.
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 0883833

Please sign in to comment.