Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Temporary "drag" items don't get destroyed if not dropped #133
I have a simple setup where I log when things are opened and closed. If I use an
I'm not seeing any close events (c.f. #106 ), but not even a destroy means I have zombie components hanging around causing trouble.
For example, if one edits the drag example codepen to put simple logging ( see https://codepen.io/mattgodbolt/pen/qadVZp ) :
Open the codepen and then the JS console. Notice the opens for the existing panels are there. If you drag a new "You've added me!" over, you see the open, and if you drop it on the layout so it "sticks" you can close it and see a "close" event for it.
However, if you click and hold the "You've added me" text but then drop it right there (ie cancel the drag), you'll see no destroy or close event is emitted.