Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Completion window does not follow cursor when scrolling with trackpad #2052

Open
2 tasks done
skaphi opened this issue Sep 28, 2024 · 0 comments
Open
2 tasks done

Completion window does not follow cursor when scrolling with trackpad #2052

skaphi opened this issue Sep 28, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@skaphi
Copy link

skaphi commented Sep 28, 2024

FAQ

  • I have checked the FAQ and it didn't resolve my problem.

Announcement

Minimal reproducible full config

Reproducible with the specified minimal conifg.

Description

When nvim-cmp displays its completion menu and I scroll the buffer with my trackpad, the menu stays at the absolute vertical position relative to the terminal, instead of following the file contents and cursor. See video for clear demonstration on default config.
Screencast from 2024-09-28 22-48-02.webm

Steps to reproduce

Open a file, write stuff so you get the completion menu.
Scroll vertically.

Expected behavior

That the completion menu window should follow the contents of the file while scrolling, instead of being in a fixed position in the terminal.

Actual behavior

The completion menu gets detached from the line the completion is on when scrolling.

Additional context

No response

@skaphi skaphi added the bug Something isn't working label Sep 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant