sp-dev-docs icon indicating copy to clipboard operation
sp-dev-docs copied to clipboard

Multiple scrollbars when adding custom SPFx webpart

Open justdevelopment opened this issue 8 years ago • 1 comments

Category

  • [ ] Question
  • [ ] Typo
  • [x] Bug
  • [ ] Additional article idea

Expected or Desired Behavior

There should only be one scrollbar on the page.

Observed Behavior

Sometimes there are two scrollbars when a page contains multiply (custom) SPFx webparts. using Chrome.

Steps to Reproduce

  • Create a SPFx webpart. I’ve made a really simple demo here; https://github.com/justdevelopment/SPFxDemo
  • Upload the app as you would normally, approving permissions and installing it in the web.
  • Add the webpart (HelloWorld) to the page and save/publish.
  • Using Chrome reload the page, sometimes there will be two scrollbars; one for the entire page and one for the pagecontainer div. It might take several refreshes to produce the error.

image

I’m not sure this is the right place for this issue, but so far I’ve only been able to reproduce it by adding custom SPFx webparts to the page. We have some elaborate CSS in our webpart and thought that was the cause, but I can reproduce it with this basic HelloWorld webpart as well. I've tried a few (not all) OOTB webparts and then I can't reproduce it.

justdevelopment avatar Mar 22 '18 11:03 justdevelopment

Issues that have been closed & had no follow-up activity for at least 7 days are automatically locked. Please refer to our wiki for more details, including how to remediate this action if you feel this was done prematurely or in error: Issue List: Our approach to locked issues

ghost avatar Nov 04 '20 12:11 ghost