mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-25 11:20:07 +08:00
fix(PromptPopup): Textarea overflow causes modal's close button unclickable (#7266)
fix(PromptPopup): Textarea overflow causes modal's close button unclickable.
This commit is contained in:
parent
341614b586
commit
83a9b2564c
@ -72,6 +72,11 @@ const PromptPopupContainer: React.FC<Props> = ({
|
||||
placeholder={inputPlaceholder}
|
||||
value={value}
|
||||
onChange={(e) => setValue(e.target.value)}
|
||||
styles={{
|
||||
textarea: {
|
||||
maxHeight: '80vh'
|
||||
}
|
||||
}}
|
||||
allowClear
|
||||
onKeyDown={(e) => {
|
||||
const isEnterPressed = e.keyCode === 13
|
||||
|
||||
Loading…
Reference in New Issue
Block a user