Vor Kurzem aufgerufene Suchen
Keine vor kurzem aufgerufene Suchen
Dynamic app container height in ticket sidebar
Gepostet 23. Apr. 2024
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!
1
1 Kommentar
Erica Girges
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.
1
Anmelden, um einen Kommentar zu hinterlassen.