mirror of
https://github.com/langgenius/dify.git
synced 2025-12-25 01:00:42 -05:00
fix: prompt editor insert cursor position (#5415)
This commit is contained in:
@@ -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(),
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user