Page 2 of 7
Re: chrome scrolling bug
Posted: Thu Jul 26, 2018 9:02 pm
by axew3
Code: Select all
SmoothScroll.js?assets_version=15:1 [Violation] Added non-passive event listener to a scroll-blocking 'wheel' event. Consider marking event handler as 'passive' to make the page more responsive
you should ask to coder that devel the plugin to change this in case, presenting him the above quoted. I've attach modified files for the passive mode, but it is just a try on fly, if not work, try to ask to the plugin author. Let know about this and i will see if i can, and you still in trouble.
About gap footer space i can't see where it come out browsing your forum.
Try to disable the cache plugin also, to check. Post a screenshot of the result if still in trouble: about this, you should resolve with documentation about available resize methods.
Re: chrome scrolling bug
Posted: Fri Jul 27, 2018 1:53 am
by kiro
your mod didnt work but curiously, looking for the gap problem in the resizer documentation, i found the solution for smooth scroll bug, so it was a problem in the iframe resizer script. the solution is here point 1 solved!
point 2... im looking for a solution in the same iframeresizer github forum, i thought it was going to be the easiest solution xd didnt work with any heightcalculationmethod
i have another question. in the iframe page, when (for example) im writing a message, each time i click in the text editor icons (bold, italic, etc) the page scrolls to the top automatically. its really anoying. i tried in the subdomain forum and this bug not happens.
thanks!
Re: chrome scrolling bug
Posted: Fri Jul 27, 2018 7:30 pm
by axew3
Hi there, well done.
Please link if you can on reply the solution to your problem, so anybody else will fall on this may have a way to resolve.
About the scroll to top, it is done on code you add into phpBB overall_footer.html
where:
Code: Select all
if ('parentIFrame' in window) window.parentIFrame.scrollTo(0,mfs);
but what browser return you this problem? I not experience it on firefox or chrome like browsers. When you click smiles it should not scroll... let me see
i will take a look to your gap ...
[edited]
Re: chrome scrolling bug
Posted: Fri Jul 27, 2018 7:54 pm
by axew3
For solution about scroll when clicking on editor:
where
Code: Select all
var w3all_onclick_smile = (w3all_parent_element_id.indexOf('smiley-box') > -1);
add immediately after the follow line:
Code: Select all
var w3all_onclick_editor = (w3all_parent_element_id.indexOf('cke_1_top') > -1);
then where
Code: Select all
if ( w3all_onclick_smile === false && w3all_onview_attach === false ) {
change into:
Code: Select all
if ( w3all_onclick_smile === false && w3all_onview_attach === false || w3all_onclick_editor === false && w3all_onview_attach === false ) {
remember to recompile phpBB template.
Should work, if the
cke_1_top is the element container ID of the post text editor (i've not check exactly if it is, it seem to me it is,
on fly): the problem is that the code search for ID value that here is not present on this theme (it search for the default prosilver theme values).
Also i promised to improve all this part whitin 1.9.0 release, i hope this will be possible, or it will may be done on 1.9.1 (reserved to iframe improvements and all fixes).
Do u resolved the gap space? Are you sure it is given by the resizer and it is not a part of the template of phpBB or WP, then you have to edit it removing the gap space?
Re: chrome scrolling bug
Posted: Sat Jul 28, 2018 3:10 am
by kiro
sorry, i deleted the message and forgot to add the link later. the solution for scrolling bug is
here
well, i tested before adding your modification and it was only a chome bug (at least in my computer), but your code in overall_footer.php worked perfectly so it's solved
the gap space is still there. i tried with default phpbb theme and it didnt solve, i tried with another wordpress theme and the gap is bigger, so im thinking that pretty sure the problem is in wordpress pages. it seems like the themes left a margin between the end of the page and the footer by default. i'm going to work with the page-forum.php and css template file on my own and ask in the theme support forum if i can't find the solution.
thanks for your support, you are really efficient
p.s: i saw in wp user options that there are new profiles, the old (suscriptor, editor, administrator, etc) from wp roles and the new (spectator, participant, keymaster, etc.) from phpbb roles. there is no interference between them? for example, if a new user registers from phpbb takes a participant profile in phpbb and subscriptor in wordpress and viceversa? i don't know how this role integration works
Re: chrome scrolling bug
Posted: Sat Jul 28, 2018 10:01 am
by axew3
about roles between CMS i've just write a memo and how to resume (that will be not more necessary as the plugin will be improved to resolve in a convenient way also this aspect, presumably on 1.9.0 release)
check this for all answers about:
What's about roles between integrated phpBB and Wordpress?