Azure / api-management-developer-portal

Developer portal provided by the Azure API Management service.
MIT License
489 stars 319 forks source link

Auto resize custom widget height #1980

Open ranjithsnair opened 2 years ago

ranjithsnair commented 2 years ago

Is there any way to implement auto resize custom widgets in developer portal ? For now we can set width \ height to % or px in custom widget settings but hardcoding size is not a good solution. Setting 100% height for custom widget is also not working. It is rendering the custom widget with a very small height. Setting a big value for height in px also having problems if the height of the content in custom widget is small. It is showing white spaces after the widget content.

Ticket we raised with Microsoft for this issue - 2210170030001295

Raising it as a issue in GitHub was instructed by Microsoft support \ product team.

image

ghost commented 2 years ago

@ranjithsnair, thank you for opening this issue. We will triage it within the next few business days.

JMach1 commented 2 years ago

Hello, as of right now, auto resize is unfortunately not supported. We've this requirement on our roadmap and we're working on figuring out a way, how to get this working nicely. As of right now, I can't give you any ETA though. Will keep you posted.

arbs-io commented 1 year ago

Is there a specific reason custom widgets need to be iframed? it would be a huge enabler to directly add components into pages and allow multiple components to interact.

ranjithsnair commented 1 year ago

@JMach1 Any update on this issue ?

AlexTukalskiy-CRL commented 1 year ago

Any update?