Skip to content

Gridstack layout misalignment on initial load after OIDC login in Angular #2846

@jitendra-786

Description

@jitendra-786

Subject

We are experiencing layout misalignment in the Gridstack component when navigating to the dashboard after an OIDC login in Angular.
OpenID Connect (OIDC) in the Angular application is causing a misalignment in the Gridstack layout (height) on first load and again if I refresh the same page working fine.

##environment

  • version of gridstack.js - "gridstack": "^10.3.1",
  • which browser/OS Chrome and windows 11

Steps to reproduce

Log in using OIDC authentication.
After successful login, OIDC redirects to the callback component.
From the callback component, navigate to the dashboard with the Gridstack layout.
Observe that the layout is misaligned (height or positioning issues).
Refresh the page and see that the layout displays correctly.

image

image

image

image
callback.component.html and callback.component.css is empty

Video.Project.19.mp4

Expected behavior

"layout should display correctly on the first load after OIDC login"

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions