I updated to the new Dawn 10.0 theme and want to work with the rotating announcement bar. For the desktop everything seems to be working fine. Now when I check the bar on the phone. It hangs on the first announcement and does not rotate to the next.
Is this a bug and will this be fixed in future updates?
I found out that this is (to my surprise) an intended feature by the devs of DAWN 10.0.0 because of different reasons. One of the reasons listed was that on mobile you cannot stop the rotation by hovering over the bar, like you can do on desktop.
This is indeed quite stupid by them to not indicate this anywhere.
Hi there!
Yes, indeed, they didn’t think it through. However, there is a simple and straightforward solution for this. First of all, open the code editor of the theme where you want to implement this. Then, open the “global.js” file. Next, locate the “setAutoPlay” method in the “SlideshowComponent” class. In this method, replace this line of code
I’m having the same issue and trying to fix using your instructions above, but I’m not finding where the global.js file is located. I have selected on Edit Code, I’m using the Dawn theme. any other pointers you can give as to where I can find the global.js file or if it’s called something different in the Dawn Theme. thank you