I really don't understand why !!
If the links are from internal pages, it works, if the links are anchors it doesn't work.
However I found by myself (in my first search in the forum I had not found!)
At this link: https://archive.joomshaper.com/forums/one-page-website-helix-ultimate#reply-164955
And this is the code to insert:
jQuery(function($) {
$('.close-offcanvas, .offcanvas-overlay, .offcanvas-inner ul > li:not(.no-scroll) > a').on('click', function() {
$('body').removeClass('offcanvas-active');
});
});
Your answer is truly undeniable!