Thursday, September 11, 2025
HomeiOS Developmentios - Swift - Snackbar with StackView, place bug when disappearing

ios – Swift – Snackbar with StackView, place bug when disappearing


I discover one thing wired when my snackbar will dismiss.
The label, lower your peak contained in the stackview, fairly unusual, when it is going to dismiss.
However this drawback, solely happen when snackbar model is rounded.
On this department (https://github.com/loverde-co/LCEssentials/tree/function/snackbar), you possibly can see on instance, whats happening.
Under, is the calling for snackbar yow will discover on instance:

let snackbar = LCSnackBarView(model: .rounded, orientation: .high)
snackbar
    .configure(textual content: "Hiya my pal!")
    .configure(textFont: .systemFont(ofSize: 16.0, weight: .common))
    .configure(textColor: .black)
    .configure(backgroundColor: UIColor(hex: "#CCCCCC"))
    .current()

Any hints, please let me know!
Thanks

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments