Skip to content

Commit

Permalink
fix: do not block floating document window
Browse files Browse the repository at this point in the history
  • Loading branch information
hexh250786313 committed Jun 2, 2024
1 parent 7f325f1 commit 8cfa2dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/completion/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export class Completion implements Disposable {
if (!this.option) return
this.popupEvent = ev
let resolved = this.complete.resolveItem(this.selectedItem)
if (!resolved || (!ev.move && this.complete.isCompleting)) return
if (!resolved) return
let detailRendered = this.selectedItem.detailRendered
let showDocs = this.config.enableFloat
await this.floating.resolveItem(resolved.source, resolved.item, this.option, showDocs, detailRendered)
Expand Down

0 comments on commit 8cfa2dd

Please sign in to comment.