javascript - Waiting for fullscreen to complete rendering -


i have svg element goes fullscreen clicking on it. know going fullscreen fires fullscreenchange events used fix svg's aspect ratio. use $(svgelement).height() fetch current height problem using $(svgelement).height() in fullscreenchange event handler can give wrong value in mobile browsers.

this might happening because of fetching size of element while fullscreen rendering not complete yet. how can fix issue(without using delay)?


Comments

Popular posts from this blog

Ansible - ERROR! the field 'hosts' is required but was not set -

ssl - how to download/uplaod file over HTTPS using Indy 10 and OpenSSL in delphi? -

SoapUI on windows 10 - high DPI/4K scaling issue -