mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-05-01 19:51:54 +00:00
Fix: Make textarea fill the area available instead of being resizable. (#6190)
## Summary Invert the sizing of textareas. They now grow based on the container instead of being independently resizable. ## Review Focus Tested the behavior in Note, Markdown Note, CLIP Text Encode, and Subgrpahs with promoted mutliline text widgets. Anything else that might break with this? ## Screenshots (if applicable) https://github.com/user-attachments/assets/4e2da142-d0b7-4629-9814-b637566ac1d6 <!-- Add screenshots or video recording to help explain your changes --> ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-6190-Fix-Make-textarea-fill-the-area-available-instead-of-being-resizable-2946d73d3650818a9f77c619deb93d0b) by [Unito](https://www.unito.io) --------- Co-authored-by: github-actions <github-actions@github.com>
This commit is contained in:
@@ -3,11 +3,12 @@
|
||||
<Textarea
|
||||
v-model="localValue"
|
||||
v-bind="filteredProps"
|
||||
:class="cn(WidgetInputBaseClass, 'w-full text-xs lod-toggle')"
|
||||
:class="
|
||||
cn(WidgetInputBaseClass, 'size-full text-xs lod-toggle resize-none')
|
||||
"
|
||||
:placeholder="placeholder || widget.name || ''"
|
||||
:aria-label="widget.name"
|
||||
size="small"
|
||||
rows="3"
|
||||
fluid
|
||||
data-capture-wheel="true"
|
||||
@update:model-value="onChange"
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user