-
Notifications
You must be signed in to change notification settings - Fork 16
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
base: master
Are you sure you want to change the base?
Conversation
…rom the filters overlay (#10)
OD-478 [Fix] Don't hide LFD if beforeOpen hook was rejected
Revert "OD-478 [Fix] Don't hide LFD if beforeOpen hook was rejected"
OD-478 [Fix] Don't hide LFD if beforeOpen hook was rejected
There was a problem hiding this 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'); |
There was a problem hiding this comment.
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'); |
There was a problem hiding this comment.
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'); |
There was a problem hiding this comment.
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'); |
There was a problem hiding this comment.
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
@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.