瀏覽代碼

fix: prompt editor insert cursor position (#5415)

tags/0.6.12
zxhlyh 1 年之前
父節點
當前提交
940c2faea1
沒有連結到貢獻者的電子郵件帳戶。
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      web/app/components/base/prompt-editor/plugins/component-picker-block/index.tsx

+ 1
- 1
web/app/components/base/prompt-editor/plugins/component-picker-block/index.tsx 查看文件

@@ -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…
取消
儲存