api-management-developer-portal icon indicating copy to clipboard operation
api-management-developer-portal copied to clipboard

Auto resize custom widget height

Open ranjithsnair opened this issue 3 years ago • 5 comments

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

ranjithsnair avatar Oct 25 '22 05:10 ranjithsnair

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

ghost avatar Oct 25 '22 05:10 ghost

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.

JMach1 avatar Nov 08 '22 09:11 JMach1

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.

arbs-io avatar Nov 15 '22 11:11 arbs-io

@JMach1 Any update on this issue ?

ranjithsnair avatar Apr 14 '23 06:04 ranjithsnair

Any update?

ghost avatar Jun 01 '23 11:06 ghost