fix: prompt editor insert cursor position (#5415)

pull/5420/head
zxhlyh 2 years ago committed by GitHub
parent aed56b1a8f
commit 940c2faea1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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(),
],

Loading…
Cancel
Save