Change record status: 
Project: 
Introduced in branch: 
main
Introduced in version: 
12
Description: 

An Ajax request triggered by the user from a button blocks the form until the response arrives. #ajax['blocking'] defaults to TRUE for submit, button and image_button, and to FALSE for other elements. Requests triggered from JavaScript do not block the form.

To disable:

'#ajax' => [
  'callback' => '::refreshCallback',
  'wrapper' => 'refresh-wrapper',
  'blocking' => FALSE,
],
Impacts: 
Module developers
Themers
Site templates, recipes and distribution developers