SweetAlert2 Disappearing when Triggered from Pressing Return

I am using a document.onkeydown to fire when Return is pressed while an element is active and it fires this successfully:

$(#selid).trigger('singletap');

I’m using jQuery Touch Events to handle interactions.

I’m using this version of Sweet Alert2: https://rahulbhut21.github.io/SweetAlert2/

I can see my handler firing and see the console.log ok:

$('#selid').on('singletap', function(e) {
  console.log('Inside Singletap');
  e.preventDefault();
  swal('Test').catch(swal.noop);
  return false;  
});

When I click on #selid, the SweetAlert 2 alert shows fine, but when using the keyboard Return, it flashes and then disappears. I’ve tried to implement suggestions mentioned elsewhere, but the alert is still disappearing.