-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
ScrollPanel Bars visible with Browser Zoom #2137
Comments
Unfortunately, I cannot replicate the issue. For example this codesandbox in the first example scrollbars cannot seems but the second and the last example scrollbar are visible because of the this line https://codesandbox.io/s/lr3k1y?file=/src/ScrollPanelDemo.vue:4879-4938 Do you have a codesandbox link for us to replicate? |
Still can not replicate the issue. If problem still persists, please send us a codesandbox link or a repo, so we can replicate this issue. |
Did you change the Browser Zoom of your browser as stated?
|
Thanks for the explanation. Reconsider it again. |
I'm submitting a ...
Current behavior
Scrollpanel causes white borders if you have Browser Zoom at 80% or smaller.
The original scrollbars are visible. It is particularly annoying in a Darktheme.
Suggested fix
Hide the default scrollbars from the scrollpanel component via css.
// Chrome
.p-scrollpanel-content::-webkit-scrollbar {
display: none;
}
.p-scrollpanel-content{
-ms-overflow-style: none; // IE and Edge
scrollbar-width: none; // Firefox
}
Vue version: 3.X
PrimeVue version: 3.4.X
Browser: Chrome XX
The text was updated successfully, but these errors were encountered: