- Issue created by @nivedha
$button['#attributes']['data-drupal-selector'] = 'gin-sticky-' . $button['#attributes']['data-drupal-selector'];
This overrides Drupal’s core-generated data-drupal-selector, which is essential for JS behavior attachment particularly in modal and AJAX contexts.
$button['#attributes']['data-drupal-selector'] = 'gin-sticky-' . $button['#attributes']['data-drupal-selector'];
Active
3.0
Code