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
Apps dynamically calculating their height during app.activated core event, are not able to resize correctly due to 0 height being returned. I believe this has been an issue since about 1 month ago.
This issue can be reproduced while switching tabs back and forth in Zendesk.
Whenever this happens a workaround is to refresh the apps, which will fire app.registered core event again.
Note: Ensure that you always invoke a resize whenever the app.activated core event is fired if your app is dynamically calculating it's height. This is considered as a best practice to prevent a resizing issue where the body scrollHeight of the iframe would return a value of 0 whenever an agent switches to another ticket tab, while your app in the original tab was still in the process of being loaded.
The text was updated successfully, but these errors were encountered:
Problem
Apps dynamically calculating their height during app.activated core event, are not able to resize correctly due to 0 height being returned. I believe this has been an issue since about 1 month ago.
This issue can be reproduced while switching tabs back and forth in Zendesk.
Whenever this happens a workaround is to refresh the apps, which will fire app.registered core event again.
Some of the apps affected are:
Example code to debug
Environment
Google Chrome - Version 100.0.4896.127
Additional info:
core_api/#resize
The text was updated successfully, but these errors were encountered: