Skip to content

autogrow calls resize which is not detecting a need to change size #10

Description

@manpuriasudip

Hello ,

We have a canvas app hosted on tomcat and viewed from a visualforce page on a record detail page.
For mobile devices, we are using the autogrow function so that the canvas app takes up the whole available space.
The method is not behaving as expected. Autogrow calls resize and resize checks for the scroll height and client height. In our case these values are same. so no resize post message is being sent to the instance and the canvas app remains in it's original size.
It worked when we replaced scroll height with window.screen.height as there is a difference between window screen height and client height.
Can you please let me know why window screen height is not being used ? And also if i am doing something wrong.
I am new to this so be kind :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions