Jump to content

My website cannot scroll up or down smoothly after hidden overflow

Recommended Posts

Posted
14 minutes ago, lifeislikeabullet said:

Site URL: https://charlnesslifeislikeabullet.com/

My website mobile version have overflow problem, I used the code "html, body {overflow-x:hidden;}" to hide horizontal space, but after applying this code my website cannot scroll up or down smoothly, it will stuck at the same point and bounce back.

RPReplay_Final1638842571.mov 11.38 MB · 1 download  

 

You can try remove the setting overflow hidden for html

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Pinch/Zoom images, videos - PDFs Lightbox - ...) </>  🗓️ Delivery Date Picker (Date picker form field)
Gallery block 7.1 workaround </> 🤖 Ask me anything

  • 4 weeks later...
Posted (edited)

Opsiii! Got this working for my client using the code below:
 


@media screen and (max-width:640px) {

  
  #collection-61a7987147cedb670348f1b0 *,  body.homepage {
max-width: 100vw !important;
    margin-left: auto;
        margin-right: auto;
}
  
  .page-section:not(.full-bleed-section)>.content-wrapper {
    padding-right: 15px;
    padding-left: 15px;
    box-sizing: border-box;
}
}

Edited by alicewonder
  • 1 month later...
Posted

The site appears to be working for me.

If you are still having difficulties:

  • check you are using one of the latest supported browsers
  • temporarily remove all custom code to see if this resolves the issue.

If you still experience difficulties, contact Squarespace Customer Care for support using this link.

Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links.
Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional.

Posted
2 minutes ago, paul2009 said:

The site appears to be working for me.

If you are still having difficulties:

  • check you are using one of the latest supported browsers
  • temporarily remove all custom code to see if this resolves the issue.

If you still experience difficulties, contact Squarespace Customer Care for support using this link.

its on mobile view only, i have sent it to a few other friends as testers and they are experiencing the same scroll issues. It started to happen after I added an announcement bar, but when I tried to remove it to see if that would fix it, the problem remained... 

Posted (edited)
42 minutes ago, moonlitdesign said:

its on mobile view only, i have sent it to a few other friends as testers and they are experiencing the same scroll issues. It started to happen after I added an announcement bar, but when I tried to remove it to see if that would fix it, the problem remained... 

Hey, I think this custom code effect on this behaviour:
image.png.85ec3e20abc85f053058a7abc2f4b2da.png

Try to remove it from custom CSS and check again.

Edited by SquareRefresh

SquareRefresh, premium plugins & templates that have an elevated feel.

Plugins: Have your site stand out. 
Templates: Our templates are designed with versatility in mind.
Get Freebies: Sometimes things in life are free. Browser our hand selected free plugins.

Posted
4 hours ago, SquareRefresh said:

Hey, I think this custom code effect on this behaviour:
image.png.85ec3e20abc85f053058a7abc2f4b2da.png

Try to remove it from custom CSS and check again.

Thank you this did fix the scroll issue, but how can I then stop this from happening? IMG_2056.thumb.PNG.9372c9161a822307222a0e7fa6209cc3.PNG

  • 2 weeks later...
Posted
On 2/21/2022 at 5:29 PM, moonlitdesign said:

Thank you this did fix the scroll issue, but how can I then stop this from happening? IMG_2056.thumb.PNG.9372c9161a822307222a0e7fa6209cc3.PNG

Do you have a suggestion of how to get rid of the excess? 

 

On 2/21/2022 at 12:56 PM, SquareRefresh said:

Hey, I think this custom code effect on this behaviour:
image.png.85ec3e20abc85f053058a7abc2f4b2da.png

Try to remove it from custom CSS and check again.

Could you plea

Posted
On 2/21/2022 at 12:12 PM, paul2009 said:

The site appears to be working for me.

If you are still having difficulties:

  • check you are using one of the latest supported browsers
  • temporarily remove all custom code to see if this resolves the issue.

If you still experience difficulties, contact Squarespace Customer Care for support using this link.

Hey, we found the bit of code that was breaking the mobile scroll, however it's the code needed that removes the excess page space on the sides. Do you have a work around instead of using the code below? 

html, body {overflow-x:hidden;} 

Posted
On 12/18/2021 at 7:43 AM, creedon said:

I'm not seeing any unusual horizontal scroll issues on mobile.

Hey, i'm having exactly the same issues, could you please be an angel and check my site out? 
 

www.moonlitdesign.uk

 

super struggling 😞

Posted
13 hours ago, creedon said:

@moonlitdesign

Is this what you are seeing?

887482510_ScreenShot2022-03-08at5_43_01PM.thumb.png.e15b15d341400bdd34bcfabf5779d1bb.png

This is what I see when I disable your site-wide CSS locally.

1229726893_ScreenShot2022-03-08at5_46_16PM.thumb.png.f596e7f893029fbcc4aaf5b1f8337bf7.png

So it is apparent there is an issue with your CSS.

yes. When i add overflow:hidden code, it breaks my mobile scrolling. but i need it to hide the extra sides 😞 what can i use instead ? Thanks!

Posted

Site URL: http://www.moonlitdesign.uk

Hi there,

Please can someone help. I need another work around being able to hide the excess space and the ability to move my whole website. For some reason, overflow-x:hidden is messing up my mobile scroll so that is not an option. 

 

Any suggestions greatly appreciated, I am really desperate for this 😞

 

Thanks

 

www.moonlitdesign.uk 

and www.apexcoaching.uk pw hello123

Posted
On 3/9/2022 at 3:07 PM, moonlitdesign said:

yes. When i add overflow:hidden code, it breaks my mobile scrolling. but i need it to hide the extra sides 😞 what can i use instead ? Thanks!

@tuanphan Do you have a work around for this issue? 7.1 site www.moonlitdesign.uk 

html, body {overflow-x:hidden} breaking mobile scrolling 

Posted
On 3/16/2022 at 6:18 AM, tuanphan said:

Try this

@media screen and (min-width:992px) {
	html, body {overflow-x:hidden;}
}

 

i only need it for mobile though, it doesn't have excess overflow on desktop - only on mobile!

i tried .site {overflow-x:hidden;} but that didn't do anything, is there another code snippet i can try to target the whole site? 

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.