pharo-spec / Spec

Spec is a framework in Pharo for describing user interfaces.
MIT License
62 stars 65 forks source link

List context menu leaks adapter #1543

Open guillep opened 6 months ago

guillep commented 6 months ago

Given the following presenter

l := SpListPresenter new.
l items: #(1 2 3).
l contextMenu: (SpMenuPresenter new
     addItem: [ :item |
         item
             name: 'something';
             action: [ :e | e halt ] ];
     yourself).
l open

If you open the context menu and click on it, e references the menu item adapter.