Skip to content

Loading animation pops out of frame #5

@jakemismas

Description

@jakemismas

Hello,
Screen Shot 2022-04-16 at 3 35 09 PM
As can be seen above, when I click on a LoadingButton, the loading animation pops out of the frame and a gray box appears. Here is the reference code used to create this issue...

LoadingButton(action: { print("pressed button") }, isLoading: $isLoading) { HStack{ Image(systemName: "camera.fill").foregroundColor(.white) .foregroundColor(Color.gray) Text("Scan Face") } }

How can I avoid the clipping issue and the grey box appearing on the loading animation?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions