Forum Discussion

JonathanWeaver's avatar
JonathanWeaver
Copper Contributor
Jul 27, 2023

How do I remove the scrollbars from SP Customized form?

Ok. I've customized a SharePoint form using Power Apps, and I'm using a Custom Size. Now I have 3 scrollbars on 1 form. How do I at least remove the horizontal scrollbar (Marked 1 below)? Removing the outermost vertical scrollbar (marked 2 below) would be lovely as well, but not a requirement.

It looks the same on every browser and screen size I've tried, including multiple computers.

 

I have these settings:

FormScreen1.Width = Max(App.Width, App.MinScreenWidth)

SharePointForm1.Width = FormScreen1.Width - 25 (To make the dual scrollbars manageable for users)

I've verified that none of the fields are too wide for the SP Form width.

I left a little gap at the bottom in case I want to add instructional text or buttons or anything, but I have not yet added anything outside the SP form.

 

 

    • JonathanWeaver's avatar
      JonathanWeaver
      Copper Contributor

      srijapam Nope. No solution. I get the inside scrollbar because the form is longer than the screen height, so that is expected.

      However, any time the screen/monitor is smaller at all, it creates both of the outside scrollbars, which is very frustrating. The only solution I've found so far is to use a large external monitor. 

  • dennispelton's avatar
    dennispelton
    Copper Contributor
    If this is still an issue for you there is a fix. You need to make the form and screen size (height specifically) in power apps the same. Since it appears that all replacing the base SharePoint from does is change what is embedded it that "box". So, if what you embed has a scroll wheel you will see the double rainbows. Make this change and the scroll wheel will only be the one the SharePoint site uses (with the added benefit of not having the scroll catch issue when getting near the bottom of a screen).

Resources