How to prevent default swipeout dismiss when focus leaves region

Is there a chance i can prevent the default swipe dismiss when i click outside its parent container?

The use case is when i swipeout and using the update button as one of buttons to update a record, i want it to stay till i manually close it when the update has been saved successfully.