hi! i have a little issue with chrome. this is the iframe page of my forum in firefox, all is ok:
but in chrome, i have this black stripe that i want to remove.
i noticed that it appears because there is a little scrolling in the iframe when i scroll with the mouse (not in firefox)
the scroll can be seen better in the header. when i scroll clicking directly in the scroll bar the iframe dont scroll and the stripe dont appear
forum
scrolling issue
- axew3
- w3all User
- Posts: 2883
- Joined: Fri Jan 22, 2016 5:15 pm
- Location: Italy
- Contact:
Re: scrolling issue
Hello Kiro!
The problem is given by js smoothscroll.
Note this, that point you to resolve: if you open/reload in chrome, and click on scroll bar, maintaining mousedown on scrollbar, scroll until bottom and maintain mousedown:
you see that the problem not appear, until you do not release the mouse.
Then, this appear in chrome console:
your smoothscroll on eles phpBB theme do not want leave you in peace, since last time you had some other problem with it if i'm not wrong!
Have you try to disable the smothscroll and check that the problem disappear?
The problem is given by js smoothscroll.
Note this, that point you to resolve: if you open/reload in chrome, and click on scroll bar, maintaining mousedown on scrollbar, scroll until bottom and maintain mousedown:
you see that the problem not appear, until you do not release the mouse.
Then, this appear in chrome console:
This not happen in firefox, then the js code should may be fixed to work fine on different browsers.SmoothScroll.js?assets_version=171:1
Unable to preventDefault inside passive event listener invocation.
your smoothscroll on eles phpBB theme do not want leave you in peace, since last time you had some other problem with it if i'm not wrong!
Have you try to disable the smothscroll and check that the problem disappear?
-
- User ww
- Posts: 33
- Joined: Wed Jul 25, 2018 6:44 pm
Re: scrolling issue
i put // at the beggining of both smooth-scroll.js documents to try to disable it and seems it worked.
thanks for point me again to the solution i thought it was something about iframeresizer
thanks for point me again to the solution i thought it was something about iframeresizer
- axew3
- w3all User
- Posts: 2883
- Joined: Fri Jan 22, 2016 5:15 pm
- Location: Italy
- Contact:
Re: scrolling issue
yeah ok, it is a way: but should be resolved on js code related if you want the smooth scroll working...
but you're still using the old v2 code ... the new v3 is much better and really is near to perfection under any aspect ... consider to update to new version and new 1.9.4 just released, update!
new v3 code and procedure, just patched at date of this post to be "perfect"
https://www.axew3.com/w3/2018/12/phpbb- ... iframe-v3/
p.s also v2 code was updated last days to prevent "pre reload" on iframe behavior on links posts.
but you're still using the old v2 code ... the new v3 is much better and really is near to perfection under any aspect ... consider to update to new version and new 1.9.4 just released, update!
new v3 code and procedure, just patched at date of this post to be "perfect"
https://www.axew3.com/w3/2018/12/phpbb- ... iframe-v3/
p.s also v2 code was updated last days to prevent "pre reload" on iframe behavior on links posts.
-
- User ww
- Posts: 33
- Joined: Wed Jul 25, 2018 6:44 pm
Re: scrolling issue
i think now i've updated correctly the plugin and the iframe codes
i don't know exactly what are the changes it seems like before except for the url, now i could change it from mydomain.net/forum to mydomain.net/foro that was nice
i don't know exactly what are the changes it seems like before except for the url, now i could change it from mydomain.net/forum to mydomain.net/foro that was nice
- axew3
- w3all User
- Posts: 2883
- Joined: Fri Jan 22, 2016 5:15 pm
- Location: Italy
- Contact:
Re: scrolling issue
when you update the plugin, iframe code is updated also.
what you need to change is:
rebuild/substitute page-forum.php with new one on plugin, and add the v3 code in phpBB template files as on procedure.
v3 code is suitable for the new page forum on 1.9.4 and will not work on page forum for code v2 which was running for the version 1.9.3.
You can use the old page forum and the old code, to switch to new v3 you need to rebuild page forum, and substitute the code into overall_foooter.html with the new one.
There is also code for overall_header.html on the new v3 code.
what you need to change is:
rebuild/substitute page-forum.php with new one on plugin, and add the v3 code in phpBB template files as on procedure.
v3 code is suitable for the new page forum on 1.9.4 and will not work on page forum for code v2 which was running for the version 1.9.3.
You can use the old page forum and the old code, to switch to new v3 you need to rebuild page forum, and substitute the code into overall_foooter.html with the new one.
There is also code for overall_header.html on the new v3 code.