AlchemyCMS / alchemy_cms

Alchemy is the Open Source Rails CMS framework for the component based web that can be used as classic server side rendered or headless CMS.
https://www.alchemy-cms.com
BSD 3-Clause "New" or "Revised" License
817 stars 312 forks source link

fix(dialog-link): Do not addEventListener on every DOM insert #2874

Closed tvdeyen closed 1 month ago

tvdeyen commented 1 month ago

Doing that we get an additional event handler whenever we move the element in the DOM. Via dragndrop of an element editor for example.


codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 95.93%. Comparing base (6af974a) to head (16c39d1).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #2874 +/- ## ========================================== - Coverage 95.93% 95.93% -0.01% ========================================== Files 229 229 Lines 6224 6222 -2 ========================================== - Hits 5971 5969 -2 Misses 253 253 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.