Small update:
Also updated my iPad to 26.5 and that's now showing the issue too.
I don't think it's specifically caused by the rotate behaviour - it seems like having anything doing something on a layer above screws things up.
I did see this error in Xcode's console when running on my iPad (transitioning to a layout that has an HTML layer):
WebContent[1365] 0x10e058100 - [sessionID=1] WebProcess::markAllLayersVolatile: Failed to mark layers as volatile for webPageID=19
Fortunately, I don't think I actually need HTML layers in this project any more (as I've reduced the number of HTML elements I'm using). I've reverted them to normal layers and the graphical glitches are gone - just double checking everthing else looks fine with the HTML layers.