Hi all, I'm new to Zendesk Apps Framework- had a question about influencing the height of the app container in the ticket sidebar. I am using the garden accordion component inside of my custom app, and it includes content of varying heights. I'd like to see the app container dynamically adjust to the height of the content inside of the app but it's not doing that.
I tried playing around with the resizeContainer helper function but wasn't able to get that to do what I want. Hoping to find some guidance around the best approach - am I doing something fundamentally wrong by including an accordion inside of a ticket sidebar app? Open to that idea and that I need to rethink my approach to the UI.
Thanks in advance for any suggestions/guidance!
Dynamic app container height in ticket sidebar
Login to the community
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
Have you tried using the resize action via the Core Apps API?
There is an important note that when trying to have your app dynamically calculate height you must invoke a resize whenever the app.activated event fires.