SizeObserver does not return size #500
-
Hello, I installed my web application with the latest version of Trame. Suddenly,
I use Thank you very much! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Wow, good catch. So it is fixed in the two latest For reference: |
Beta Was this translation helpful? Give feedback.
Wow, good catch.
So it is fixed in the two latest
trame-client>=3.0.2
ortrame-component>=2.3.1
depending on where you are grabbing the SizeObserver from. It is has recently be added to the built-in trame client to make trame-component even more optional...For reference:
The issue come from the fact that we were sending the size as a native JS object (DOMRect) which before was getting converted into a plain/json object over the network. But with the new network (wslink>=2), that conversion is not happening automatically (as we now can send inline binary structure) and require manual conversion. I'm expecting similar issue to happen with
trame>=3.6
, but hopefully we can find a middle grou…