Closed federico-ntr closed 2 years ago
Ping @mihhu
I'd say you want to get the ref and update the style when the minimized variable changes. The getIFrameRef
will only be called once, when the API object is created.
Confirming what @saghul said. Please save the getIFrameRef
argument into a local ref that you can adjust whenever you need. Here's a tiny demo of how it should work.
I'd say you want to get the ref and update the style when the minimized variable changes. The
getIFrameRef
will only be called once, when the API object is created.
Yes, I should've known, it was actually pretty obvious.
Confirming what @saghul said. Please save the
getIFrameRef
argument into a local ref that you can adjust whenever you need. Here's a tiny demo of how it should work.
Really thanks for even providing an example!
I have a boolean variable which should control some of the styles of Jitsi.
I expect the style attribute of the iframe to change when the value of
minimized
changes but it doesn't.It may be that it's completely impossible to do this thing and I'm missing some fundamental concept of how this works.