Hello!
I’m trying to create a landing page with an horizontal menu. I’m using anchors to navigate inside page, but the property “active” doesn’t update on the final page
However, when I click on preview site , the page works properly
I added some console.log
code to check if it was something related to JS, but the code runs fine:
const uuid = require ( ‘uuid’ );
$w . onReady ( function () {
$w ( “#processAnchor” ). onViewportEnter (() => {
console . log ( ‘anchor [process]’ );
console . log ( uuid . v4 ());
})
});
Can you give me a piece of advice?
Thank you so much for any help