- Issue created by @javi-er
- Merge request !3Making sure that the resize events happen only on this module template β (Merged) created by javi-er
The iframe has a specific class, I adjusted the JS for checking if the iframe has this class before adjusting the height, in this way no other Qualtrics embeds will be affected. Since there are sites that have Qualtrics forms embed using this module and feedback plugins embed through GTM.
- πΊπΈUnited States mmenavas
Hi @javi-er! Your code changes look good! While I haven't been able to replicate the original issue as I don't use GTM, I don't see any harm in adding an extra check to filter out non qualtrics-generated iframes. I tested your MR on a Drupal 10.4 site, and the qualtrics embed still works and the surveys are resized.
-
javi-er β
committed f4bfa607 on 1.0.x
Issue #3519591 by javi-er: Height resizing shouldn't execute on...
-
javi-er β
committed f4bfa607 on 1.0.x
Automatically closed - issue fixed for 2 weeks with no activity.