Open a-gagnon opened 7 months ago
Correct, if I close the popout, it brings my widget back to the panel where it was initially and I don't see the ResizeObserver warning.
Hi @a-gagnon, 4.7.2 was released today and revert the change to the reparenting, this issue should be no longer be present. We will find a different solution to the initial issue. Let me know if we should close this issue.
Describe the bug While testing the fixes in #524 , I noticed that my widget does not get re-rendered when going into popout mode. Because of that, the following line does not get reevaluated, and the close button is displayed:
The associated code to closing the widget is this:
We hide the close button when in popout because it looks awkward having two 'X' stacked on top of each other (1 from the window frame and 1 from our UI). If we try to click on it while in a popout, we end up getting the infinite resize observer as discussed in #536
To Reproduce Steps to reproduce the behavior:
Expected behavior Not sure what it should do, but that has to be predictable.