I am having issues with an iframe (which holds the URL to a Mendix app) that is on my HubSpot website. Upon loading my webpage, the page automatically scrolls down to the iframe. Originally I suspected that this was an iframe/HubSpot theme issue, but when I swapped the URL to another website that I had developed (not a Mendix app), it did not do the automatic scroll. It may be worth noting that the page that the URL points to does load via microflow and creates an object. However, this has always been the case and this scroll was never an issue. it may also be worth noting that my app was originally developed via Mendix 9.22 and I recently upgraded it to Mendix 10.9. This is a huge issue as this page is live for our customers to see. Does anyone have any idea on how this can be fixed?
I am having issues with an iframe (which holds the URL to a Mendix app) that is on my HubSpot website. Upon loading my webpage, the page automatically scrolls down to the iframe. Originally I suspected that this was an iframe/HubSpot theme issue, but when I swapped the URL to another website that I had developed (not a Mendix app), it did not do the automatic scroll. It may be worth noting that the page that the URL points to does load via microflow and creates an object. However, this has always been the case and this scroll was never an issue. it may also be worth noting that my app was originally developed via Mendix 9.22 and I recently upgraded it to Mendix 10.9. This is a huge issue as this page is live for our customers to see. Does anyone have any idea on how this can be fixed?
The issue where your webpage automatically scrolls down to the iframe might be related to changes made when upgrading your Mendix app from version 9.22 to 10.9. It’s possible that the new version affects how the page content loads or how the iframe interacts with the rest of the page. One possible cause could be that the iframe is being automatically focused upon page load, which triggers the scroll. To address this, try adding scrolling="no" to your iframe code, which can prevent automatic scrolling. You could also test removing any microflow-related changes in the Mendix app to see if they are affecting the iframe's behavior.