fix: prompt editor insert cursor position (#5415)
This commit is contained in:
parent
aed56b1a8f
commit
940c2faea1
1 changed files with 1 additions and 1 deletions
|
|
@ -57,7 +57,7 @@ const ComponentPicker = ({
|
||||||
const { refs, floatingStyles, elements } = useFloating({
|
const { refs, floatingStyles, elements } = useFloating({
|
||||||
placement: 'bottom-start',
|
placement: 'bottom-start',
|
||||||
middleware: [
|
middleware: [
|
||||||
offset(16), // fix hide cursor
|
offset(0), // fix hide cursor
|
||||||
shift(),
|
shift(),
|
||||||
flip(),
|
flip(),
|
||||||
],
|
],
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue