Does anyone have any idea why using window.addEventListener(‘resize’, randomFunction) wouldn’t be firing inside of a portlet script?
b
battk
08/13/2020, 9:48 PM
my guess is the iframe the portlet is in means you probably want to add the listener to one of the parent windows
t
Tyler
08/14/2020, 4:38 PM
I’ve tried adding event listener to different parent elements and wrappers to no avail. I’m not sure if I’m doing something wrong, or if this just isn’t possible