We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
https://rollupjs.org/repl?version=0.66.2&shareable=JTdCJTIybW9kdWxlcyUyMiUzQSU1QiU3QiUyMm5hbWUlMjIlM0ElMjJtYWluLmpzJTIyJTJDJTIyY29kZSUyMiUzQSUyMmNvbnN0JTIwbyUyMCUzRCUyMCU3QiU1Q24lNUN0aGlkZSgpJTIwJTdCJTIwdGhpcy5hY3RpdmUlMjAlM0QlMjBmYWxzZSUzQiUyMCU3RCUyQyU1Q3QlNUNuJTVDdHNob3coKSUyMCU3QiUyMHRoaXMuYWN0aXZlJTIwJTNEJTIwdHJ1ZSUzQiUyMCU3RCU1Q24lN0QlM0IlNUNuJTVDbmV4cG9ydCUyMGZ1bmN0aW9uJTIwc2hvdygpJTIwJTdCJTIwby5zaG93KCklM0IlMjAlN0QlNUNuZXhwb3J0JTIwZnVuY3Rpb24lMjBoaWRlSWZBY3RpdmUoKSUyMCU3QiU1Q24lNUN0aWYlMjAoby5hY3RpdmUpJTVDbiU1Q3QlNUN0by5oaWRlKCklM0IlNUNuJTdEJTIyJTdEJTVEJTJDJTIyb3B0aW9ucyUyMiUzQSU3QiUyMmZvcm1hdCUyMiUzQSUyMmNqcyUyMiUyQyUyMm5hbWUlMjIlM0ElMjJteUJ1bmRsZSUyMiUyQyUyMmFtZCUyMiUzQSU3QiUyMmlkJTIyJTNBJTIyJTIyJTdEJTdEJTJDJTIyZXhhbXBsZSUyMiUzQW51bGwlN0Q=
Logic in hideIfActive is preserved, as there are valid situations where o.active would be true. E.g: if show() is called first.
hideIfActive
o.active
true
show()
hideIfActive is emptied, which breaks the logic (now you can't hide o when it's active).
o
The text was updated successfully, but these errors were encountered:
Related issue: #2345
Tree shaking can be disabled as a workaround or use one of the patches in link above.
Sorry, something went wrong.
This is still a valid bug in the latest version of the Rollup REPL.
3e0aa46
No branches or pull requests
How Do We Reproduce?
https://rollupjs.org/repl?version=0.66.2&shareable=JTdCJTIybW9kdWxlcyUyMiUzQSU1QiU3QiUyMm5hbWUlMjIlM0ElMjJtYWluLmpzJTIyJTJDJTIyY29kZSUyMiUzQSUyMmNvbnN0JTIwbyUyMCUzRCUyMCU3QiU1Q24lNUN0aGlkZSgpJTIwJTdCJTIwdGhpcy5hY3RpdmUlMjAlM0QlMjBmYWxzZSUzQiUyMCU3RCUyQyU1Q3QlNUNuJTVDdHNob3coKSUyMCU3QiUyMHRoaXMuYWN0aXZlJTIwJTNEJTIwdHJ1ZSUzQiUyMCU3RCU1Q24lN0QlM0IlNUNuJTVDbmV4cG9ydCUyMGZ1bmN0aW9uJTIwc2hvdygpJTIwJTdCJTIwby5zaG93KCklM0IlMjAlN0QlNUNuZXhwb3J0JTIwZnVuY3Rpb24lMjBoaWRlSWZBY3RpdmUoKSUyMCU3QiU1Q24lNUN0aWYlMjAoby5hY3RpdmUpJTVDbiU1Q3QlNUN0by5oaWRlKCklM0IlNUNuJTdEJTIyJTdEJTVEJTJDJTIyb3B0aW9ucyUyMiUzQSU3QiUyMmZvcm1hdCUyMiUzQSUyMmNqcyUyMiUyQyUyMm5hbWUlMjIlM0ElMjJteUJ1bmRsZSUyMiUyQyUyMmFtZCUyMiUzQSU3QiUyMmlkJTIyJTNBJTIyJTIyJTdEJTdEJTJDJTIyZXhhbXBsZSUyMiUzQW51bGwlN0Q=
Expected Behavior
Logic in
hideIfActive
is preserved, as there are valid situations whereo.active
would betrue
.E.g: if
show()
is called first.Actual Behavior
hideIfActive
is emptied, which breaks the logic (now you can't hideo
when it's active).The text was updated successfully, but these errors were encountered: