FRU Modal Issue

Bug Overview

  • The FRU modal is behaving inconsistently, apparently just on mobile. An iOS user can't replicate the issue (iOS, Chrome and Safari) but an Android user can, intermittently (Chrome).

Video capture of issue

Explanation from Tester:

When the video starts, I scrolled down and clicked the first button link. That gave me a blank page without even a close button.

When I hit the back button on my phone, it took me back to Teams, where I clicked the link to take me back to the page.

The cookie banner displayed on load, so I hit the accept button. Then I scrolled down and tried the Embed: HTML link, where you see the partially loaded screen with just the top image. This is the typical experience I see with the modals.

When I click the close button, I see that weird screen with the bell that has no text and no buttons, so I have to also use my phone's back button to get back to the page. I then tried the Link: Button again and got the rare occurrence where the form loads fully.

const suppressList = ['/','/home','/act']; const pathname = window.location.pathname; if (!suppressList.includes(pathname)) { document.querySelector('body').insertAdjacentHTML('beforeend','
'); }