Skip to content

Buttons are slow to update themselves at page load #101

Closed
@YannDoW

Description

@YannDoW

Hello,

I am very happy about oauth-ng except for one thing: when the page is loaded for the first time, I see all three buttons (sign-in, logout, access denied) before two of them disappear and only the sign-in one remains. I guess that Angular is slow to find out that two of them are to be hidden (the ng-show="show=='logged-out'" properties in the 3 spans). I am using the default.html template.

Visually it's very annoying and surprising for the user.

I tried all sorts of CSS tricks to hide the buttons until the show context variable is set, but I was not able to make anything work.

I am using Angular 1.4.6. I'm a beginner at Angular.

Does anyone else has this problem? Am I doing something wrong?

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