{"action":"opened","issue":{"url":"https://api.github.com/repos/Blazored/Modal/issues/20","repository_url":"https://api.github.com/repos/Blazored/Modal","labels_url":"https://api.github.com/repos/Blazored/Modal/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/Blazored/Modal/issues/20/comments","events_url":"https://api.github.com/repos/Blazored/Modal/issues/20/events","html_url":"https://github.com/Blazored/Modal/issues/20","id":445841489,"node_id":"MDU6SXNzdWU0NDU4NDE0ODk=","number":20,"title":"Should/could the modal Close cause a complete page re-render? (Feature Request)","user":{"login":"tomRedox","id":11335350,"node_id":"MDQ6VXNlcjExMzM1MzUw","avatar_url":"https://avatars3.githubusercontent.com/u/11335350?v=4","gravatar_id":"","url":"https://api.github.com/users/tomRedox","html_url":"https://github.com/tomRedox","followers_url":"https://api.github.com/users/tomRedox/followers","following_url":"https://api.github.com/users/tomRedox/following{/other_user}","gists_url":"https://api.github.com/users/tomRedox/gists{/gist_id}","starred_url":"https://api.github.com/users/tomRedox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomRedox/subscriptions","organizations_url":"https://api.github.com/users/tomRedox/orgs","repos_url":"https://api.github.com/users/tomRedox/repos","events_url":"https://api.github.com/users/tomRedox/events{/privacy}","received_events_url":"https://api.github.com/users/tomRedox/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-05-19T17:02:05Z","updated_at":"2019-05-19T17:02:05Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"As far as I can tell, at the moment when the modal is closed (not cancelled) it doesn't trigger the StateHasChanged at the top level?\r\n\r\nThe <Modal /> component itself lives pretty near the top of the component stack, so it seems like it maybe should be able to cause a re-render as the actions on the modal are likely to often update the data displayed by some other component?\r\n\r\nI've got round this by wiring up a ModalClosed method, but it would be nice not to have to do this on every component that uses the modal.\r\n\r\nWould it be possible to add a Parameter that tells the Modal whether it should rerender the page (by page I mean the component the modal is set up on and all of it's children, i.e. typically MainLayout.razor)?"}}
{"actor":{"display_login":"tomRedox"}}