Skip to content

Use inconsistencies when using inside react-modal. #353

@oscar-gallog

Description

@oscar-gallog

I'm using WOW inside react-modal and the behavior is pretty erratic, sometimes it works, sometimes it doesn't but I found this, when it doesn't work the styles are applied like this:

  visibility: hidden;
  animation-duration: 1s;
  animation-delay: 200ms;
  animation-name: none;

and when it works the style looks like this:

    visibility: visible;
    animation-duration: 1s;
    animation-delay: 200ms;
    animation-name: fadeInUp;

Anybody having this issue?. I'm calling the exact same component on both cases, and I'm using this line, but it changes nothing:

.wow {
  visibility: hidden;
}

Here is a GIF showing what's happening:
dead

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