Bit of a general question without specifics, sorry, but Opera mini is hard to troubleshoot.
I’m refactoring a site with Sprockets and a thicket of jquery snippets to use Stimulus controllers instead. I’m bundling with Vite/Rollup with the vite legacy plugin (i.e. Babel with browserslist etc), and the legacy bundle is output correctly, but hardly anything works on Opera Mini. I suspect I’m missing a polyfill or something, but I’ve tried the Stimulus polyfill package, and there’s no help there.
I had an issue or two getting IE11 to work, but nothing like this. Anyway, I don’t intend to make IE work any more due to being EOL, while Opera Mini is used by 100 million users in Africa alone, so it’d be nice to get it to kinda work.
The reason I’m suspecting Stimulus and not my code within the controllers themselves is the fact that not even a click action that uses classList toggle works, it’s that basic.
What’s even more annoying is that I firmly believe in progressive enhancement to the point that the site works quite well with javascript disabled completely, I have noscript replacements even for some of my javascript filtering controllers. But badly working javascript is so much worse than no javascript at all.
Has anyone experienced this with Stimulus?