Skip to content
This repository has been archived by the owner on Mar 13, 2024. It is now read-only.

MM-17979 Fix for center channel beign scrollable for few plugins #3642

Merged
merged 5 commits into from
Sep 30, 2019

Conversation

sudheerDev
Copy link
Contributor

@sudheerDev sudheerDev commented Sep 11, 2019

Summary

  • Add channel-view class to body to prevent scroll

This was added once for #1255 but removed as it caused other issues with not beign able to scroll in help pages etc. This solution was removed #1421 as grammarly fixed it on thier end.

Now the solution here is to add the class conditionally and remove it once we leave the channel routes

Ticket Link

https://mattermost.atlassian.net/browse/MM-17979

@sudheerDev sudheerDev added the 2: Dev Review Requires review by a core commiter label Sep 11, 2019
@sudheerDev sudheerDev added this to the v5.16.0 milestone Sep 11, 2019
@sudheerDev sudheerDev requested a review from a team September 11, 2019 09:58
@ghost ghost requested review from alifarooq0 and sbishel and removed request for a team September 11, 2019 09:58
@sudheerDev sudheerDev requested review from jespino and removed request for sbishel September 11, 2019 10:00
  * Add channel-view class to body to prevent scroll
Copy link
Member

@jespino jespino left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@amyblais amyblais added the CherryPick/Approved Meant for the quality or patch release tracked in the milestone label Sep 17, 2019
@sudheerDev sudheerDev added the 3: QA Review Requires review by a QA tester label Sep 25, 2019
expect(document.body.classList.contains('app__body')).toBe(false);
expect(document.body.classList.contains('channel-view')).toBe(false);
});
});
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💯

@saturninoabril saturninoabril removed the 3: QA Review Requires review by a QA tester label Sep 25, 2019
@sudheerDev sudheerDev merged commit b9a9f21 into mattermost:master Sep 30, 2019
@sudheerDev sudheerDev deleted the MM-17979 branch September 30, 2019 16:27
@sudheerDev sudheerDev added 4: Reviews Complete All reviewers have approved the pull request and removed 2: Dev Review Requires review by a core commiter labels Sep 30, 2019
@mattermod mattermod added CherryPick/Done Successfully cherry-picked to the quality or patch release tracked in the milestone and removed CherryPick/Approved Meant for the quality or patch release tracked in the milestone labels Sep 30, 2019
sudheerDev pushed a commit that referenced this pull request Sep 30, 2019
* MM-17979 Fix for center channel beign scrollable for few plugins

  * Add channel-view class to body to prevent scroll

* Update tests

* Fix test case names
@amyblais amyblais added Changelog/Not Needed Does not require a changelog entry Docs/Not Needed Does not require documentation labels Sep 30, 2019
skheria pushed a commit to uber-archive/mattermost-webapp that referenced this pull request Oct 3, 2019
…termost#3642)

* MM-17979 Fix for center channel beign scrollable for few plugins

  * Add channel-view class to body to prevent scroll

* Update tests

* Fix test case names
skheria pushed a commit to uber-archive/mattermost-webapp that referenced this pull request Oct 3, 2019
…termost#3642)

* MM-17979 Fix for center channel beign scrollable for few plugins

  * Add channel-view class to body to prevent scroll

* Update tests

* Fix test case names
skheria pushed a commit to uber-archive/mattermost-webapp that referenced this pull request Oct 3, 2019
…termost#3642)

* MM-17979 Fix for center channel beign scrollable for few plugins

  * Add channel-view class to body to prevent scroll

* Update tests

* Fix test case names
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
4: Reviews Complete All reviewers have approved the pull request Changelog/Not Needed Does not require a changelog entry CherryPick/Done Successfully cherry-picked to the quality or patch release tracked in the milestone Docs/Not Needed Does not require documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants