I did:
Selectize does not respect the default behaviour of a <select> element when selecting an item. It uses a mousedown event rather than click. This deviation from the default causes issues with libraries which respect the default, for example Sweetalert2. See below issue for further context.
Steps to reproduce:
See jsfiddle @ sweetalert2/sweetalert2#2154 (comment)
Expected result:
Swal should not close
Actual result:
Swal closed
I did:
Selectize does not respect the default behaviour of a
<select>element when selecting an item. It uses amousedownevent rather thanclick. This deviation from the default causes issues with libraries which respect the default, for example Sweetalert2. See below issue for further context.Steps to reproduce:
See jsfiddle @ sweetalert2/sweetalert2#2154 (comment)
Expected result:
Swal should not close
Actual result:
Swal closed