Perspective Popup height changes when dragged

I created a popup that dynamically resizes based on its content. That work as expected.
However, when dragging the popup, its height no longer adjusts accordingly.
Instead, a static value is applied to the element in the DOM.
Details is in recording

I'll follow this up in the morning as I'm sure one of our engineers faced this problem and resolved it, if someone doesn't chime in earlier

This is what I was thinking of

Thank you, @nminchin, for taking the time to attach the solution—it worked perfectly!
Also, thanks to @victordcq for the helpful techniques.
Although the forum search surfaced the relevant post, I somehow overlooked it.
I appreciate the help!

Since i made that post there has been some updates so, now the best way to add the css is to use the advanded stylesheet.css

You're right. I've applied the following in the stylesheet to handle popup height adjustments.

.ia_popup[id^="popup-"]{
    height: auto !important;
}
1 Like

I feel it might be useful to add that you can actually set the popup View's defaultSize props to auto which will auto size the popup based on its content, and expand as necessary if content it dynamically added. It relies on this though

1 Like