Is this screenshot from Wappler code view or from your browser?
What exactly have you entered in the UI for it? It if it’s Wappler code view, this looks to me like this anchor button code has been copied from a rendered page in your browser.
The last screeshot is from my browser, the two others are from Wappler.
Here is what I entered in Wappler: <a class="btn text-uppercase btn-primary btn-sm mb-1" dmx-on:click="smoothScroll.goto('#top')"><i class="fas fa-arrow-up"></i></a>
This component is correctly loaded by this code on top of the file: <!-- Wappler include head-page="layouts/main" bootstrap4="local" is="dmx-app" id="resources" appConnect="local" fontawesome_5="local" jquery_34="local" components="{dmxSmoothScroll:{},dmxNotifications:{}}" -->
Yes, I know that, actually I added / just for testing purpose because I had this issue with the smooth scroll, but even if I remove it, it is not working. And no error in my console.
@Teodor@patrick I changed the link to an anchor inside the content page instead of an anchor outsie of the “layout” page and added “javascript:void(0)”, it’s now working.
But it’s not working without “javascript:void(0)” and with an anchor outside the content page (even if it’s available in the same page in my browser).