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
Post a Comment