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

feature: disable scrollbar #471

Closed
1 task done
igorlfs opened this issue May 21, 2023 · 3 comments
Closed
1 task done

feature: disable scrollbar #471

igorlfs opened this issue May 21, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@igorlfs
Copy link

igorlfs commented May 21, 2023

Did you check the docs?

  • I have read all the noice.nvim docs

Is your feature request related to a problem? Please describe.

Hey! As always, thanks for the plugin! I've read through the docs but haven't found a way to disable the scrollbar that pops up when hovering documentation. My main motivation to do that is that I find its behavior a little inconsistent. For instance: in the screenshot, I'm at the bottom, but the bar isn't:

image

From my understanding, the bar seems to be tracking the cursor when inside the window and the top when scrolling from outside. That is, when I focus the hover, I can get the "expected behavior":

image

Fixing that would be nice, but if that's the intended behavior, that's also ok. What I would like to do instead is to have an option to disable the scrollbar entirely.

Describe the solution you'd like

Either fixing the underlying issue or provide an option to disable the scrollbar (or both)

Describe alternatives you've considered

I went in-depth in the first section

Additional context

No response

@igorlfs igorlfs added the enhancement New feature or request label May 21, 2023
@yoplat
Copy link

yoplat commented Aug 3, 2023

Looking for a solution as well, tried putting the highlight groups PmenuSbar and PmenuThumb, and while it works in the hover window, it messes up with the color of the scrollbar inside the cmdline_popup

@musjj
Copy link

musjj commented Aug 3, 2023

I also suspect that the scrollbars are the cause of the weird border wrapping issue in LSP popups: #470

The same issue does not happen with vanilla nui.nvim floating windows, which does not have scrollbars.

@igorlfs
Copy link
Author

igorlfs commented Oct 4, 2023

Closed by #603

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants