Is absolute positioning valuable for scroll to the element when one appears
问题 I'm using sweetalert modal dialog. It is positioned to center of screen as I understand. But when I use it inside `iframe element (by URL) it appears in the center of built-in document, and as result not seen in view area. I've tried to use position: absolute style on modal, it has not obvious influence: it is positioned as before, on the center of built-in document (why :\ ?) it is 'ensured' to seen on the view area as following: if modal rect not intersected with view area rect at all,