hotwired / stimulus

A modest JavaScript framework for the HTML you already have
https://stimulus.hotwired.dev/
MIT License
12.73k stars 425 forks source link

Outlets do not disconnect when removed via morph #778

Open sfnelson opened 4 months ago

sfnelson commented 4 months ago

Set up a paginated list of items. Add controllers to the list and the items, and make the items an outlet of the list.

When the list paginates and an item is removed (e.g. per:5, items: 9), the itemOutletDisconnected callback does not fire.