Hello, I recently noticed several of my sites are no longer scrolling properly. Instead of smoothly scrolling up and down, it jumps up and down in a very unpredictable and jagged manner.
Furthermore, after checking the dev console in Chrome there are suddenly a number of javascript errors appearing.
I'm not sure if this is related to the most recent Chrome release, WP update, or something else... but it's affecting a ton of sites, including a number of your demo sites (such as Corporate and Agency).
It's also worth mentioning, this issue does not seem to be occurring with your Corporate Creative theme. Perhaps that would be a good way to analyze what's going wrong with the others -- e.g., perhaps there's something different in the code for that Demo than the others that makes the scrolling OK?
It seems the issue is related to how Chrome 73 treats event listeners. The following excerpt is from that second link:
"It seems like the issue is that the newest Chrome release is treating any event listeners that weren’t tagged as { passive: false } as passive, and denying an “event.preventDefault()” for them - as a result, when you try to scroll the error appears on DevTools (funny thing: the more you try to scroll, the more the same error appears over and over)."
in older theme skins (original, ascend) Salient uses a smooth scrolling script, which is not necessary now since most browsers already provide that by default. You can disable it by switching to the latest skin (material) in the Salient options panel > general settings tab. That should remove the warning/fix the issue - It's also going to be removed in the next theme update for all skins.
If you'd like to remove the script alone within the js now, search the js/init.js file for comment "chrome ss".
Hello, I've encountered a similar issue, even after commenting lines in init.js scrolling still seems to be choppy. Are there, by any chance, any other changes that need to be done untill it works properly? I'm using Salient version 8.5.6 with an Ascend theme skin.
Please update to Salient Theme Version 10.0.4 and Salient WPBakery Page Builder 5.7 .
If you are not seeing the Plugin Update Notification you need to uncheck the " Disable Theme Reccomended Plugin Notifications " Field in "Salient Theme Options Panel" -> General Settings -> "Toggle Theme Features" Section .
Hello, I recently noticed several of my sites are no longer scrolling properly. Instead of smoothly scrolling up and down, it jumps up and down in a very unpredictable and jagged manner.
Furthermore, after checking the dev console in Chrome there are suddenly a number of javascript errors appearing.
I'm not sure if this is related to the most recent Chrome release, WP update, or something else... but it's affecting a ton of sites, including a number of your demo sites (such as Corporate and Agency).
It's also worth mentioning, this issue does not seem to be occurring with your Corporate Creative theme. Perhaps that would be a good way to analyze what's going wrong with the others -- e.g., perhaps there's something different in the code for that Demo than the others that makes the scrolling OK?
Two more resources you may want to look at:
https://github.com/schrodinger/fixed-data-table-2/issues/407
https://forums.meteor.com/t/chrome-scrolling-error-passive-event-listeners/48403
It seems the issue is related to how Chrome 73 treats event listeners. The following excerpt is from that second link:
"It seems like the issue is that the newest Chrome release is treating any event listeners that weren’t tagged as { passive: false } as passive, and denying an “event.preventDefault()” for them - as a result, when you try to scroll the error appears on DevTools (funny thing: the more you try to scroll, the more the same error appears over and over)."
Gonna escalate the ticket to the developer so he may add in a response.
Best
ThemeNectar Support Team
Hey Steven,
in older theme skins (original, ascend) Salient uses a smooth scrolling script, which is not necessary now since most browsers already provide that by default. You can disable it by switching to the latest skin (material) in the Salient options panel > general settings tab. That should remove the warning/fix the issue - It's also going to be removed in the next theme update for all skins.
If you'd like to remove the script alone within the js now, search the js/init.js file for comment "chrome ss".
Cheers
Hello, I've encountered a similar issue, even after commenting lines in init.js scrolling still seems to be choppy. Are there, by any chance, any other changes that need to be done untill it works properly?
I'm using Salient version 8.5.6 with an Ascend theme skin.
@Fryderyk
Please update to Salient Theme Version 10.0.4 and Salient WPBakery Page Builder 5.7 .
If you are not seeing the Plugin Update Notification you need to uncheck the " Disable Theme Reccomended Plugin Notifications " Field in "Salient Theme Options Panel" -> General Settings -> "Toggle Theme Features" Section .
To get a list of Bug Fixes and new Feature addons in the Latest Theme update, the changelog can be viewed here : http://themenectar.com/changelogs/salient.html .
Update the theme by following this guide: http://themenectar.com/docs/salient/updating-salient/ .
Best.
ThemeNectar Support Team
Thanks, it fixed my issue.
Regards