Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there any way to add/remove classes atEnter, atLeave, and atActive? #124

Open
Lathryx opened this issue Mar 18, 2021 · 1 comment
Open

Comments

@Lathryx
Copy link

Lathryx commented Mar 18, 2021

I'm attempting to add/remove a .hide class:

.hide {
    margin: 0; 
    padding: 0; 
    width: 0; 
    height: 0; 
    opacity: 0; 
}

Which essentially allows other elements to pass over the corresponding element in its atLeave state, of course given that element has this class. Then, on this element's atEnter stage, I must promptly remove this class.

Is there any known way of doing this?

@Lathryx
Copy link
Author

Lathryx commented Mar 21, 2021

I've also posted my problem on StackOverflow, and the app itself can be found here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant