Problem/Motivation
Since 10.3 dialog:after/before/create/close events are vanilla JS events. not jQuery events
Backward compatibility only covers event listeners.
https://www.drupal.org/node/3422670
But this module seems triggers events itself. To be compatible with Drupal 10.3 it should trigger events in same style as core does
This MR for more info https://www.drupal.org/project/drupal/issues/3390549
Steps to reproduce
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Issue fork bootstrap4_modal-3457776
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
- 3457776-fix-triggers
changes, plain diff MR !13
- 3457776-update-events-triggers
compare
Comments
Comment #4
finnsky commentedComment #5
karlsheaComment #6
karlsheaUsing same approach as mercury_editor in #3456410: Mercury Editor dialogs won't open after upgrading to Drupal core 10.3.
Works for me in 10.3 but needs testing in 10.2.
Comment #7
finnsky commentedI've added one comment
Comment #8
nikathoneI was having js errors when attempting to close the modal and the latest code in the MR fix the issue.
Comment #11
vhin0210 commentedComment #12
vhin0210 commented