How to Remove Top Space and OnlyOffice Link in WebView and iFrame

ONLYOFFICE Mobile: Documents / Projects / Web Editors
Do you want to: Suggest a feature / Report a bug / Ask a how-to question
For feature suggestions, describe the result you would like to achieve in detail.
For bug reports, provide the steps to reproduce and if possible a minimal demo of the problem.
Device: iPhone
OS version: iOS 18
App version: 8.3.3
Mode: moible
Additional information:

When viewing the document on both the mobile app and the mobile web, there is a space at the top as shown in the attached image. When you tap on it, it redirects to the OnlyOffice homepage.
Please let me know how to remove this margin.
For reference, we’re using an iframe on the mobile web and a WebView in the mobile app.


Hello @cord7894

Does it represent the version of the mobile app or of Document Server? Please share both.


Do you use any customization settings in your integration? Is it possible to enable integrated test example to check if the same issue with mobile web occurs there?

The Document Server version is 8.3.3, and the mobile OS version is 18.0, which is a simulator.

We are using a custom configuration as shown below.
The issue occurs in the same way in both the mobile web and the mobile app.

var connectEditor = function () {
    config = {
        type: "mobile",
        documentType: "slide",
        document: {
            title: "samplepptx.pptx",
            fileType: "pptx",
            permissions: {
                chat: false,
                changeHistory: false,
                comment: false,
                download: false,
                edit: false,
                copy: true,
                print: false,
                fillForms: false,
                modifyFilter: false,
                modifyContentControl: false,
                rename: false,
                review: false
            }
        },
        editorConfig: {
            callbackUrl: "",
            coEditing: {
                mode: "fast",
                change: true
            },
            createUrl: "",
            mode: "view",
            region: "ko-KR",
            lang: "ko",
            user: {},
            embedded: {
                saveUrl: "",
                embedUrl: "",
                shareUrl: "",
                toolbarDocked: ""
            },
            customization: {
                about: false,
                autosave: true,
                commentAuthorOnly: false,
                comments: false,
                compactHeader: true,
                compactToolbar: true,
                compatibleFeatures: true,
                customer: {
                    address: "",
                    info: "",
                    logo: "",
                    mail: "",
                    name: "",
                    www: ""
                },
                features: {
                    spellcheck: {
                        mode: false
                    }
                },
                feedback: false,
                forcesave: true,
                help: true,
                goback: {
                    blank: false,
                    requestClose: false,
                    text: "",
                    url: ""
                },
                hideRightMenu: true,
                layout: {
                    leftMenu: false,
                    rightMenu: false,
                    statusBar: true,
                    toolbar: false
                },
                loaderName: " "
            }
        }
    };

    config.width = "100%";
    config.height = "100%";
    config.events = {
        'onAppReady': onAppReady,
        'onDocumentReady': onDocumentReady,
        'onInfo': onInfo,
        'onDocumentStateChange': onDocumentStateChange,
        'onRequestEditRights': onRequestEditRights,
        'onError': onError,
        'onWarning': onWarning,
        'onOutdatedVersion': onOutdatedVersion
    };
};

@Constantine > Could you please answer this question?

Hello @cord7894
If you don’t mind, I will join this thread.
Try to add this parameter to your customization section: Customization - Standard branding | ONLYOFFICE