Skip to content

Tooltip content view customisation not working. #6

@Sudheerarava222

Description

@Sudheerarava222

If I add button the tool tip auto alignment not working.
In content just I added the following lines. I am not sure what I did mistake.

   HStack {
                        Label("Contrary to popular belief, Lorem Ipsum is not simply random text.", systemImage: "")
                            .onTapGesture {
                                isPresented.toggle()
                            }
                            .padding()
                            .frame(width: 200)
                        
                        VStack {
                            Button("Close") {
                                isPresented = false
                            }
                            Spacer()                            }
                    }.padding(0)

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