mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-28 05:11:24 +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
f19ba44574
commit
b8b1083921
@ -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