Inside custom modal we need to get information from window.parent:
- innerWidth, innerHeight of user browser
- scrollX, scrollY of custom modal iframe
It needs for understanding of user ViewPort dimensions and current scroll position of custom modal content.
When we try to read this properties directly we get an error - Blocked a frame with origin from accessing a cross-origin frame.
Could you add to App extensions SDK functions for getting this kind of data?
Thank in advance,