mirror of
http://112.124.100.131/huang.ze/ebiz-dify-ai.git
synced 2025-12-09 19:06:51 +08:00
fix: prompt editor insert cursor position (#5415)
This commit is contained in:
@@ -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(),
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in New Issue
Block a user