Skip to content

bug: ion-spinner moving when position absolute (possible regression) #19247

Description

@peterpeterparker

Bug Report

Ionic version:
[x] 4.x

Current behavior:
When setting a position absolute to the ion-spinner won't hold in place as it used to but is now moving slowly to the right.

Expected behavior:
Spinner stays in place even with absolute positioning

Possible regression:
Ionic v.4.7.1 -> all good, spinner stays in place
Ionic v4.8.1 -> spinner is moving

Related code:

<ion-content>
    <ion-spinner color="primary"></ion-spinner>
</ion-content>
ion-spinner {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

Other information:

I observed the behavior in an Angular app as well in a Stencil PWA, therefore I would say it's a core issue.

Screenshot:

Capture d’écran 2019-09-01 à 13 17 44

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions