oruga
oruga copied to clipboard
Modal onClose method called twice
Overview of the problem
Vue: 3.2.25
@oruga-ui/oruga-next: 0.5.4
@oruga-ui/theme-bulma: 0.2.3
Description
The Modal onClose functions seems to call twice. This behaviour makes it difficult to handle modal callbacks to the originating component.
Steps to reproduce
Expected behavior
Emitting a single 'close' event should only call the onClose
method a single time.
Actual behavior
The onClose
method is called twice, one of which is always with an undefined result in the callback.
@BuffMcBigHuge using promise it works. We'll investigate about callback way