I’m experiencing a weird issue where my simple vanilla JS stops working on my deployed app after navigating through a few pages and I’m not getting any errors or messages in my console. I’m also able to replicate this locally, any insights would be appreciated!
Hey it seems to be a logical error.
The event listener for
..toggle-btn is set only at the load which when you navigate to pages don’t add event listener to newly created read-more button.
That explains why you can resolve it on reload.
This video can help you out
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.