{"action":"opened","issue":{"url":"https://api.github.com/repos/havfo/multiparty-meeting/issues/54","repository_url":"https://api.github.com/repos/havfo/multiparty-meeting","labels_url":"https://api.github.com/repos/havfo/multiparty-meeting/issues/54/labels{/name}","comments_url":"https://api.github.com/repos/havfo/multiparty-meeting/issues/54/comments","events_url":"https://api.github.com/repos/havfo/multiparty-meeting/issues/54/events","html_url":"https://github.com/havfo/multiparty-meeting/issues/54","id":346592729,"node_id":"MDU6SXNzdWUzNDY1OTI3Mjk=","number":54,"title":"Fine-tune scroll-to-bottom logic","user":{"login":"torjusti","id":876904,"node_id":"MDQ6VXNlcjg3NjkwNA==","avatar_url":"https://avatars2.githubusercontent.com/u/876904?v=4","gravatar_id":"","url":"https://api.github.com/users/torjusti","html_url":"https://github.com/torjusti","followers_url":"https://api.github.com/users/torjusti/followers","following_url":"https://api.github.com/users/torjusti/following{/other_user}","gists_url":"https://api.github.com/users/torjusti/gists{/gist_id}","starred_url":"https://api.github.com/users/torjusti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/torjusti/subscriptions","organizations_url":"https://api.github.com/users/torjusti/orgs","repos_url":"https://api.github.com/users/torjusti/repos","events_url":"https://api.github.com/users/torjusti/events{/privacy}","received_events_url":"https://api.github.com/users/torjusti/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-01T13:09:17Z","updated_at":"2018-08-01T13:09:17Z","closed_at":null,"author_association":"COLLABORATOR","body":"Currently, the chat (and the files tab, from the file sharing PR) scrolls to the bottom when the component mounts or the component props update. This works for scrolling to the bottom when the sidebar is first opened, and when a new message is received. However, there is a small UI problem here, IMO, as this behavior makes it very difficult to scroll up to see an earlier message if new messages are frequently being added. To me, this is pretty irritating. My suggested fix is to only scroll to the bottom provided the user already was scrolled to the bottom, but to do nothing if the user is scrolled up on the page. Then the user can manually scroll to the bottom again when done reading the chat history."}}
{"actor":{"display_login":"torjusti"}}