question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

scrollContent padding set to false doesn't work

See original GitHub issue

I have a super basic scroll, the only setting I’m applying is:

ops: {
     scrollContent: {
     padding: false
   }
 }

The problem is that it doesn’t get rid of the padding. I can change other settings and see its effects, so I know I’m setting the ops correctly, it just seems the padding setting is being ignored.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
wangyi7099commented, Mar 24, 2018

I’m on the train, and I’ll report to you on afternoon or later.

0reactions
wangyi7099commented, Apr 9, 2018

Thank you for you replay! I’m preparing a feature release in recent day😄

Read more comments on GitHub >

github_iconTop Results From Across the Web

No padding when using overflow: auto
This works because there's no content. When you add content, it overlaps everything in there, even the padding! Any border, margin or other...
Read more >
Padding problem when there is a forced scrollbar · Issue #28101
When a browser is forced to display the scrollbar when the vertical content does not require the scrollbar, a padding-right is added to...
Read more >
overflow - CSS: Cascading Style Sheets - MDN Web Docs
The content can be scrolled programmatically (for example, by setting the value of a property such as scrollLeft or the scrollTo() method), so ......
Read more >
CSS overflow-x property - W3Schools
The overflow-x property specifies whether to clip the content, add a scroll bar, or display overflow content of a block-level element, when it...
Read more >
CSS Overflow: What It Is & How It Works - HubSpot Blog
To hide overflow from rendering outside the element's box while enabling users to view that content, set the overflow property to “scroll.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found