mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-18 04:36:00 +08:00
fix: prompt editor insert cursor position (#5415)
This commit is contained in:
parent
aed56b1a8f
commit
940c2faea1
@ -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…
x
Reference in New Issue
Block a user