Skip to content

OD-537 [Fix] Background scrolling in LFD #595

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 14 commits into
base: master
Choose a base branch
from
Open

OD-537 [Fix] Background scrolling in LFD #595

wants to merge 14 commits into from

Conversation

skrupnyk
Copy link
Contributor

@sofiiakvasnevska @inna-bieshulia

OD-537 https://weboo.atlassian.net/browse/OD-537

Description

Fixed background scrolling in LFD detail view Featured List and display News Feed, Simple List, Agenda layouts when dropping it onto a screen

Screenshots/screencasts

https://storyxpress.co/video/krm0x018st3r4v6eu
https://storyxpress.co/video/krm0ywxvw3oetta5r

Backward compatibility

This change is fully backward compatible.

Copy link
Contributor

@tonytlwu tonytlwu left a comment

Choose a reason for hiding this comment

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

Solution unclear

Rejected +1

@@ -2028,6 +2034,8 @@ DynamicList.prototype.showDetails = function(id, listData) {
var template = Handlebars.compile(data.src || src);
var wrapperTemplate = Handlebars.compile(wrapper);

$('.fl-page-content-wrapper').parent().css('overflow', 'hidden');
Copy link
Contributor

Choose a reason for hiding this comment

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

Please explain why this isn't simply $('body')

@@ -133,6 +133,9 @@ DynamicList.prototype.attachObservers = function() {
}

beforeOpen.then(function() {
$(event.target).parents('.small-h-card-list-wrapper').addClass('hidden');
Copy link
Contributor

Choose a reason for hiding this comment

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

Please explain why this isn't _this.$container.find('.small-h-card-list-wrapper')

@@ -306,6 +306,9 @@ DynamicList.prototype.attachObservers = function() {
}

beforeOpen.then(function() {
$el.parents('.simple-list-container').addClass('hidden');
Copy link
Contributor

Choose a reason for hiding this comment

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

Why is this necessary as part of the solution?

@@ -1782,7 +1783,7 @@ DynamicList.prototype.animateAgendaForward = function(nextAgendaElement, nextAge
_this.ANIMATION_SPEED,
'swing', // animation easing
function() {
_this.$container.find('.agenda-list-day-holder.active').removeClass('active');
$dayHolders.removeClass('active').not(nextAgendaElement).addClass('hidden');
Copy link
Contributor

Choose a reason for hiding this comment

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

Please explain how this fix works and why it's necessary

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants