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

body background keeps showing on scroll #145

Open
MohammedAlasaad opened this issue Nov 12, 2020 · 4 comments
Open

body background keeps showing on scroll #145

MohammedAlasaad opened this issue Nov 12, 2020 · 4 comments

Comments

@MohammedAlasaad
Copy link

Hi,
I noticed when we scroll down the background body #f6f6f9 keeps showing for a bit the it disappear.. not sure is there any css to fix that!.

to test that set the body background to darker color for ex. #26264a and try scroll down maybe faster scroll will still show the body background.

@SantosGuillamot
Copy link
Member

Thanks for reporting @MohammedAlasaad 🙂

Unfortunately, I am not able to reproduce it. Do you have a demo where we can see the problem? Could you share your browser and its version to see if that could be the cause please?

@MohammedAlasaad
Copy link
Author

Hi @SantosGuillamot ,
I did this video so its easy to see the issue.. check video at time 00.03 and 00.04 .. I think its maybe something with the clip-path. and not sure if every section that has clip-path should have overflow:hidden;
video link here https://streamable.com/1ki0t8

@SantosGuillamot
Copy link
Member

Thanks a lot for the video! Does it happen only the first time you scroll down? I mean, if after doing the first scroll, you get back to the top and repeat the process, does it happen?

I feel it could be due to the lazy loading we are adding to some elements of the web like the iframe or the tweets, and you get that effect while they are being loaded.

@MohammedAlasaad
Copy link
Author

MohammedAlasaad commented Nov 13, 2020

Hi @SantosGuillamot no problem :) .. not only on first scroll.. happen as well when I go up and scroll down again. Its not really smooth as normal site..
Not sure really if its lazy loading or the sections that has clip-path.. As I tested to remove all these sections and css that has clip-path and its works nice and smooth!.

.wp-block-group.wp-react-made-easy {
    padding: 100px 0px 136px;
    -webkit-clip-path: polygon(0 0,100% 40px,100% 100%,0 calc(100% - 72px));
    clip-path: polygon(0 0,100% 40px,100% 100%,0 calc(100% - 72px));
}

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