elai950 / AlertToast

Create Apple-like alerts & toasts using SwiftUI
https://elai950.github.io/AlertToast/
MIT License
2.08k stars 187 forks source link

Alert Toast (.hud display mode) large text not fit to the screen #83

Closed iosAnkit closed 11 months ago

iosAnkit commented 11 months ago

` struct ContentView: View {

@State private var showToast = false

var body: some View {
    VStack {
        Button("Show Toast"){
             showToast.toggle()
        }
    }
    .toast(isPresenting: $showToast){
        AlertToast(displayMode: .hud, type: .regular, title: "I want to show large message in this alert toast but the text is truncated.")
    }
}

}

`

Simulator Screenshot - iPhone 15 Pro - 2023-11-02 at 12 32 58

iosAnkit commented 11 months ago

fixed in 1.3.9

guyaumetremblay commented 5 months ago

@iosAnkit is it ? I have the 1.3.9 and the source code still have the deleted lines from the commit.