Sw-modal not getting closed even after clicking on x button

Hi,
I am trying to use sw-modal component but facing issue with specifying its properties, not able to close the modal once it is opened.

below is the code :

<sw-modal
	  class="test__modal"
	  size="200px"
	  title="modal title"
      > Hello this is modal </sw-modal>

Please let me know if I need to add anything here or missing something.

Thank you in advance!

If you open the browser console is there an error?

If you remove the size attribute, can you then close the modal?

There is no error, tried with firefox and chrome.
Removing size did not help.

Heyo mana,

did you manage to fix this? Do you maybe have any news about this issue?

Im currently trying to solve it also. I found this post on the Issuetraccker:
Issue - NEXT-23962

Maybe you can vote-up the issue, so it get fixed :slight_smile: