• Créditos da HubSpot: Desbloqueie ferramentas poderosas para o crescimento

    Dúvidas?

CMS Development

Susino
Membro

Javascript animation doesn't work after changing field value

resolver

Hi! 

I face a problem with animation in the page editor. Please see this video. 
https://www.loom.com/share/8b3b20d43829478d95f9a28fd66f8c20

Would you happen to have any ideas on how to fix it? Is there any event that can call the function again after editing fields?


0 Avaliação positiva
1 Solução aceita
Jnix284
Solução
HubSpot Employee
HubSpot Employee

Javascript animation doesn't work after changing field value

resolver

Hi @Susino any time you make a change in the module settings that has JS, the editor has to be refreshed. There are a few ways this is triggered, usually this will pop-up at the bottom left of the module editor in the sidebar:

Jnix284_0-1709137198867.png

 

Otherwise, you will find this option:

Jnix284_1-1709137318679.png

 

Your change is still happening, it just needs to be applied to the page if you want the preview to update due to the JS.


replies and solutions prior to May 2025 were as a member of the community and are not an official response as an employee of HubSpot


Jennifer Nixon

Exibir solução no post original

0 Avaliação positiva
1 Resposta 1
Jnix284
Solução
HubSpot Employee
HubSpot Employee

Javascript animation doesn't work after changing field value

resolver

Hi @Susino any time you make a change in the module settings that has JS, the editor has to be refreshed. There are a few ways this is triggered, usually this will pop-up at the bottom left of the module editor in the sidebar:

Jnix284_0-1709137198867.png

 

Otherwise, you will find this option:

Jnix284_1-1709137318679.png

 

Your change is still happening, it just needs to be applied to the page if you want the preview to update due to the JS.


replies and solutions prior to May 2025 were as a member of the community and are not an official response as an employee of HubSpot


Jennifer Nixon
0 Avaliação positiva