Closed cvillalobos closed 2 years ago
@moeamaya, will you please take a look a the PR proposed? Thanks.
@cvillalobos Do you mind making a new PR without the formatting changes?
@moeamaya, Ok yes, I'll try to send it today. Thanks for taking the time to review this. I'll make sure to notify you when the new PR is in place.
Closing PR as it has included some inconvenient formatting changes.
Given that the custom wrapper is not precisely working and some other have reported related issues I am adding here a new property switch called 'leadByViewPort' to manage if the animation should only happen when the element is within the ViewPort area.
The editor has automatically formatted/indexed a few lines throughout the file. However, main changes directly related to the new attribute added are the following:
leadByViewPort: false,
if ((!self.options.leadByViewPort) || (self.options.leadByViewPort && $('#parallax-wrapper').isInViewport())) {