Api setting width and height as percentages

Hi, I seem to be having a problem with setting the height and width as percentages.
Instead of using…
const options = {
roomName: ‘MyRoomName’,
height: 768,
width: 1024,
parentNode: document.querySelector(’#JitsiDiv’)
I would like to use …
height: 100%,

How do I do this?

Hey I had the same issue of you and I solved not configuring the height and witdth in the options, erase it and set width and height on the parent div, in your case #JitsiDiv.

Hope this helps.