fix: prompt editor insert cursor position (#5415)

This commit is contained in:
zxhlyh 2024-06-20 11:19:43 +08:00 committed by GitHub
parent aed56b1a8f
commit 940c2faea1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -57,7 +57,7 @@ const ComponentPicker = ({
const { refs, floatingStyles, elements } = useFloating({
placement: 'bottom-start',
middleware: [
offset(16), // fix hide cursor
offset(0), // fix hide cursor
shift(),
flip(),
],