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

Why is the scrollbar style different from the one on the official website? #54

Open
LetAmericaGreatAgain opened this issue Aug 20, 2024 · 9 comments

Comments

@LetAmericaGreatAgain
Copy link

Why is the scrollbar style different from the one on the official website?

@LetAmericaGreatAgain
Copy link
Author

Here is an image of the scrollbar.
image

@siva-geddada
Copy link

this is the opensource one you have to customize yourself

@LetAmericaGreatAgain
Copy link
Author

this is the opensource one you have to customize yourself

The example with the slider on PrimeNG's official website doesn't look like this. I followed the tutorial and imported the related CSS files, but the effect is still different from what it looks like on the website. I'm not sure what the reason is.

@LetAmericaGreatAgain
Copy link
Author

this is the opensource one you have to customize yourself

The example with the slider on PrimeNG's official website doesn't look like this. I followed the tutorial and imported the related CSS files, but the effect is still different from what it looks like on the website. I'm not sure what the reason is.

There are the css-related files i imported
image

@siva-geddada
Copy link

siva-geddada commented Aug 26, 2024

Just share the screen short here to understand, what are the differences

@LetAmericaGreatAgain
Copy link
Author

Just share the screen short here to understand, what are the differences

It is the scrollbar on the official website. The scrollbar on the official website looks different from the one in this project.
image

@LetAmericaGreatAgain
Copy link
Author

This is the scrollbar for this project.
image

@LetAmericaGreatAgain
Copy link
Author

Just share the screen short here to understand, what are the differences

I've figured out the reason: PrimeNG behaves differently in Edge compared to Chrome. In Edge, the scrollbar looks nicer, while in Chrome, it's a bit unattractive. PrimeNG was probably developed with Edge in mind.

@siva-geddada
Copy link

No it's not true, primeng dosen't change the apperance based on browser. it's edge defualt behaviour, edge team desgined the scrollbar like the way only slim and nice. Not only primeng you can open any website and see scroll's loock like that only

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

No branches or pull requests

2 participants