However, in one of my page, I’m hitting a “Uncaught ReferenceError: bubble_fn_points is not defined”, and I can’t get my head around the problem.
I tried to reproduce the error for 2 hours by adding one element at a time in a new HTML element, but no chance…
I also tried to put another HTML element in the page to set the variable like the following “bubble_fn_points(0);”… And it’s working… So maybe something is wrong with the HTML, but the code is working just fine.
I had a look at different threads in the Bubble Forum but it doesn’t solve the problem.
If someone has already faced the same weird behavior, I would appreciate any help.
Hey A, it’s probably because you forgot to enable “Trigger event” in the settings of the javbascripttobubble element.
Because of the code “bubble_fn_points(0);” this last workflow is triggered.
Very basic but it works, let me know if you have some questions.
Is the group that the JS to Bubble in visible?
Happy to take a look if you want to DM a link to your app and where I can find the element
Hi @gerbertdelangen ,
Thanks for your quick reply
And I don’t think it’s the “Trigger event”. Already trigger this approach.
Let me do a bit more investigation / tests before posting back to the topic
By trying to create a demo app to give you access, I found a “solution”…
I’m putting some screenshots if this is helpful. Seems to be a weird bug…
I didn’t have to create a workflow.
I have the same problem. It re appears randomly. This is really concerning because many apps use this, and it seems like there is some incompatibility with the new responsive engine.
It will work for weeks at a time and then break. Then if I recreate the element and repush to live the problem goes away. This is really, really bad.
And the visibility settings are defined accordingly
Hello, up on this. I have the exact same issue. Any updates on how to solve ?
I can not read / can not reproduce the same workflow as showed at step 3 of @gerbertdelangen 's answer