Fix aria-disabled

This commit is contained in:
Florian Duros 2022-10-11 10:09:57 +02:00
parent 7ad39ba6c7
commit 0dd9aba47f
No known key found for this signature in database
GPG key ID: 9700AA5870258A0B

View file

@ -62,7 +62,7 @@ export function WysiwygComposer(
aria-autocomplete="list" aria-autocomplete="list"
aria-haspopup="listbox" aria-haspopup="listbox"
dir="auto" dir="auto"
aria-disabled={!disabled && isWysiwygReady} aria-disabled={disabled || !isWysiwygReady}
/> />
</div> </div>
{ children?.(memoizedSendMessage) } { children?.(memoizedSendMessage) }