dmxBootstrap5Navigation not working properly since the latest AppConnect update(s)

Wappler 7.5.0
AppConnect 2.2.1

dmxBootstrap5Navigation not working properly since the latest AppConnect update(s)

Class "active" is not being applied to elements that were previously working. I confirm none of those elements contains "dmx-class:active" (the presence of such attribute is an inhibitor for dmxBootstrap5Navigation, as intended per one of the latest updates, which is not present and therefore not related to the bug in question)

Edit:
Isn’t this condition wrong? What's the NOT operator doing there in the beginning of the condition?

// skip if dmx-class:active is used
if (!this.$node.hasAttribute('dmx-class:active')) return;

Edit 2: Even fixing the condition (or reverting to my original suggested fix) is not working, something else in AppConnect broke the functionality

I think the NOT operator is indeed incorrect since the comment also mentioned it should skip if it has the attribute.

Do you know which version of App Connect broke the functionality? Was it broken with version 2.2.0 (released with Wappler 7.5.0) or with the last update to version 2.2.1?

Hi Patrick,

I'm afraid I don't know the version that broke, I jumped from 7.4.0 (I think) direct to 7.5.0 and AppConnect 2.2.1

Bump

Did the latest version also not work?

dmxBootstrap5Navigation.zip (787 Bytes)

Didn’t work, did it work for you?

Tested it on a simple test page with routing and the bootstrap 5 navigation and it worked fine, so it is probably in combination with something else.