SwiftUI-Tooltip
SwiftUI-Tooltip copied to clipboard
Long text
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

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.