laboratoriobridge / bold

https://bold.bridge.ufsc.br
MIT License
75 stars 9 forks source link

[Modal] Make it possible to programmatically close modals open using the `modal()` utility #813

Open Andrevmatias opened 1 year ago

Andrevmatias commented 1 year ago

Component to amend

Modal

Context

It is impossible to close a modal open using the modal() utility programmatically. It would be useful when the modal should be closed after a certain timeout, for example.