1

We are creating a custom footer though SPFx Application Customizer for modern sharepoint pages. But our requirement on the Footer is to show the footer with a increased height. Once we deployed the customizer the Body of the page is not fully displayed. The footer is getting freeze in the screen and the rest of the body content needed to navigate via vertical scrolls. The code block to set the footer is mentioned below.

 let bottomPlaceholder: PlaceholderContent = this.context.placeholderProvider.tryCreateContent(PlaceholderName.Bottom);

    if (bottomPlaceholder) {
      ServiceManagerStatic.getService().getFooterContent("").then((footer)=>{
        console.log(footer);
        bottomPlaceholder.domElement.innerHTML = footer;
      }).catch((err)=>{

      });    
    return Promise.resolve();

Ideally the Footer should be placed in the bottom of the page not in the bottom of the screen. Is there a solution to apply this footer in bottom of the page so that it won't affect the contents of the page?

  • Try updating your SPFx version -- I'm seeing no cutoff with spfx 1.5: github.com/SharePoint/sp-dev-docs/wiki – Mike Jun 23 '18 at 15:43
  • @Kanishka did you get it figured out? I don't want to go through the trouble if it's still a sticky / window footer – Colbs Jan 7 at 17:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.