You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using avoidShowingBackground to clamp my partial pano, but on load, you can still see the black background (noticeable mainly on mobile – portrait viewports).
When clicking or tapping the pano for the first time, it kicks into action and behaves how I want it to (on all screen resolutions, eg. desktop and mobile).
I can reproduce this issue with v2.5.6, but it seems to work correctly with the current Git master branch. The code that handles the avoidShowingBackground did not change. I was able to bisect the change that fixed this to 44e878f; based on what fixed it, it seems that the issue was due to a bug in how the window size was being reported.
I'm going to close this issue, since it seems to have already been fixed, even if the fix is not yet in release. Feel free to reopen it, if you can still reproduce the issue in the current master branch.
I'm using
avoidShowingBackground
to clamp my partial pano, but on load, you can still see the black background (noticeable mainly on mobile – portrait viewports).When clicking or tapping the pano for the first time, it kicks into action and behaves how I want it to (on all screen resolutions, eg. desktop and mobile).
Example:
https://codepen.io/martingarnett01/pen/GgKdRPm
Any ideas on whether I can change a setting or somehow trigger the
avoidShowingBackground
onLoad?The text was updated successfully, but these errors were encountered: