Skip to content

Dynamically Sizing Custom Widgets #2826

@Schuckknight

Description

@Schuckknight

Bug description

Previously, custom widgets in the self hosted portal were able to be dynamically sized. With upgrades over the past few years after widgets were sandboxed into an iframe, dynamic sizing does not work anymore.

This reduces the flexibility of custom widgets since the developer may not know the exact height of content at runtime. When this happens now, the widget keeps its constant height and has scrollbars for the overflow content. But that does not give a good UI experience.

Is this a bug or was dynamic sizing meant to be taken away?

Reproduction steps

  1. Create a custom widget, but keep the height at the default 500px for custom widgets.
  2. Add content to the widget that has a height greater than 500px.
  3. View the widget on the portal. It now had a vertical scroll bar

Expected behavior

An option to dynamically size the widget based off it's contents like was available initially with custom widgets

Is self-hosted portal?

Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions