{"action":"created","issue":{"url":"https://api.github.com/repos/DmitryBaranovskiy/raphael/issues/960","repository_url":"https://api.github.com/repos/DmitryBaranovskiy/raphael","labels_url":"https://api.github.com/repos/DmitryBaranovskiy/raphael/issues/960/labels{/name}","comments_url":"https://api.github.com/repos/DmitryBaranovskiy/raphael/issues/960/comments","events_url":"https://api.github.com/repos/DmitryBaranovskiy/raphael/issues/960/events","html_url":"https://github.com/DmitryBaranovskiy/raphael/issues/960","id":69472324,"node_id":"MDU6SXNzdWU2OTQ3MjMyNA==","number":960,"title":"set.remove() leaves element handles in the collection","user":{"login":"jbreckmckye","id":3148617,"node_id":"MDQ6VXNlcjMxNDg2MTc=","avatar_url":"https://avatars2.githubusercontent.com/u/3148617?v=4","gravatar_id":"","url":"https://api.github.com/users/jbreckmckye","html_url":"https://github.com/jbreckmckye","followers_url":"https://api.github.com/users/jbreckmckye/followers","following_url":"https://api.github.com/users/jbreckmckye/following{/other_user}","gists_url":"https://api.github.com/users/jbreckmckye/gists{/gist_id}","starred_url":"https://api.github.com/users/jbreckmckye/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbreckmckye/subscriptions","organizations_url":"https://api.github.com/users/jbreckmckye/orgs","repos_url":"https://api.github.com/users/jbreckmckye/repos","events_url":"https://api.github.com/users/jbreckmckye/events{/privacy}","received_events_url":"https://api.github.com/users/jbreckmckye/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2015-04-19T22:42:18Z","updated_at":"2018-09-04T23:36:35Z","closed_at":null,"author_association":"NONE","body":"I have noticed an unusual behaviour; I'm not sure if it's a bug, if the documentation is ambiguous, or if I've simply misunderstood something.\n\nWhen I create a set and fill it with text elements (I don't know if other element types have the same behaviour), then use the .remove() method, the elements are cleared from the canvas as expected. However, the set still contains the elements.\n\nIf I use the .clear() method, I have the opposite issue: handles to the elements are removed from the set, but they remain on-screen.\n\nIs this the expected behaviour?\n\nI have tested this in Raphael 2.1.4. I can check and see if this behaviour is consistent in other versions.\n\nRegards,\nJBMK\n"},"comment":{"url":"https://api.github.com/repos/DmitryBaranovskiy/raphael/issues/comments/418551360","html_url":"https://github.com/DmitryBaranovskiy/raphael/issues/960#issuecomment-418551360","issue_url":"https://api.github.com/repos/DmitryBaranovskiy/raphael/issues/960","id":418551360,"node_id":"MDEyOklzc3VlQ29tbWVudDQxODU1MTM2MA==","user":{"login":"chaims","id":4903657,"node_id":"MDQ6VXNlcjQ5MDM2NTc=","avatar_url":"https://avatars1.githubusercontent.com/u/4903657?v=4","gravatar_id":"","url":"https://api.github.com/users/chaims","html_url":"https://github.com/chaims","followers_url":"https://api.github.com/users/chaims/followers","following_url":"https://api.github.com/users/chaims/following{/other_user}","gists_url":"https://api.github.com/users/chaims/gists{/gist_id}","starred_url":"https://api.github.com/users/chaims/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chaims/subscriptions","organizations_url":"https://api.github.com/users/chaims/orgs","repos_url":"https://api.github.com/users/chaims/repos","events_url":"https://api.github.com/users/chaims/events{/privacy}","received_events_url":"https://api.github.com/users/chaims/received_events","type":"User","site_admin":false},"created_at":"2018-09-04T23:36:35Z","updated_at":"2018-09-04T23:36:35Z","author_association":"NONE","body":"I have same problem~~help !"}}
{"actor":{"display_login":"chaims"}}