When an iframe is displayed on a LWC component or an aura lightning component, added to a pagelayout and viewed in the Salesforce mobile app, I cannot scroll through the page when touching the iframe.
If an iframe fills the whole page, it is impossible to scroll outside the iframe at all. The areas outside the iframes on the other hand, are scrollable.
To be clear: I want to scroll the entire page while touching the iframe. I do not want to scroll inside the iframe.
Things like scrolling="no" or scrolling="false" and css hacks do not work.
Steps to reproduce bug:
- Create a LWC or an aura lightning component.
- Add iframe to component.
- Add component to a pagelayout.
- View in Salesforce mobile app.
- Try to scroll the entire page while touching the iframe.
Code used in LWC:
<template>
<iframe width="100%" height="300" src="https://www.blank.org"></iframe>
</template>
Code used in Aura Lightning Component:
<aura:component access="GLOBAL" implements="force:appHostable,flexipage:availableForAllPageTypes">
<iframe width="100%" height="300" src="https://www.blank.org"></iframe>
</aura:component>
It results in the following where both components prevent me from scrolling the page.