Skip to content

Warning appears after it's been dismissed on click #3

@DavidRojasRobles

Description

@DavidRojasRobles

If I've dismissed the warning and I click over where it appeared, the warning shows up briefly (apparently for as long as the dismissTime), completely blocking whatever is underneath, no matter what ViewGroup I pass as parent layout or how long I wait after the warning has been dismissed.

If I drop the dismissTime to 0, it no longer shows, but still blocks the buttons I have underneath. It doesn't matter how long the revealTime is.

I'm creating the warning like this:

Noty.init(context, mensaje,view,
Noty.WarningStyle.ACTION)
.setActionText("OK")
.setHeight(new RelativeLayout.LayoutParams(0, ViewGroup.LayoutParams.WRAP_CONTENT))
.setWarningBoxMargins(40, 40, 40, 40)
.setWarningBoxBgColor("#67B93D")
.setWarningTextColor("#ffffff")
.setActionTextColor("#ffffff")
.setWarningTappedColor("#5FAC38")
.setWarningBoxRadius(10, 10, 10, 10)
.setWarningBoxPosition(Noty.WarningPos.CENTER)
.setAnimation(Noty.RevealAnim.FADE_IN, Noty.DismissAnim.FADE_OUT, 0, 0)
.show();

This only happens after the warning has been shown correctly at least once.
Noty-issue

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