help to resolve wierd issue #4493
Answered
by
gbj
goodidea-kp
asked this question in
Q&A
-
|
on my |
Beta Was this translation helpful? Give feedback.
Answered by
gbj
Dec 16, 2025
Replies: 1 comment 2 replies
-
|
Please provide some additional context for how you're using the button; i.e., a reproducible example of the problem. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Your
lbccrate unconditionally activates thecsrandssrfeatures onleptos: only one of these should be activated at a time, probably by the end user's application.Since the
ssrfeature is activated the event listener is never created. On a previous version the framework tried to remove event listeners instead (due to thread-safety issues with JS types) but this was an imperfect process that could cause server-side panics.This should be resolved by removing the
features = ["csr", "ssr"]fromleptosinlbc/Cargo.toml