SwiftUI-Tooltip icon indicating copy to clipboard operation
SwiftUI-Tooltip copied to clipboard

Long text

Open ckakumanu opened this issue 3 years ago • 0 comments

Describe the bug Having a long text for the tooltip causes it to overshoot the bounds.

To Reproduce Steps to reproduce the behavior: struct ContentView: View { var body: some View { Text("Hello") .tooltip(.bottom) { Text("The transaction fee covers PayPal processing costs and includes PayPal Buyer Protection") } } }

Expected behavior It should stay within bounds and stretch vertically

Screenshots Screen Shot 2022-08-23 at 11 01 53 am

Desktop (please complete the following information):

  • OS: [e.g. iOS 15.5]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone 13 Pro Max]

Additional context Add any other context about the problem here.

ckakumanu avatar Aug 23 '22 01:08 ckakumanu