BUG Block user & File upload Google Chrome Mobile(IOS)


Home Forums Front End PM PRO BUG Block user & File upload Google Chrome Mobile(IOS)

This topic is: Resolved

Tagged: 

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #21842
    User Deleted
    Participant

    Hi,
    I found a bug that only appears under the following:
    -Use of Google Chrome Browser (Mobile) -> Not in desktop Version, tested with IOS [In all other major Browsers(even Mobile) this is not happening]
    -When a user uploads a file(image) and then pushes the “block user-button” the whole website freezes!!
    Sometimes refreshing the page in the browser helps to unfreeze.

    -When the user was blocked before – unblocking after a file upload is working.

    Please help to solve this problem as soon as possible!

    Brgds.
    Chris

    #21880
    User Deleted
    Participant

    Hi,
    Could you please help to solve it?!?

    Brgds.
    Chris

    #21898
    Shamim Hasan
    Keymaster

    Sorry for late reply. I had to setup for mobile debugging.
    I have tested it with a chrome browser in android phone and working correctly.

    Can you please deactivate all other plugins and change theme to default theme (eg. tweentysixteen) then test.

    #21900
    User Deleted
    Participant

    Hi Shamim,
    I`ve tested it with Twentyseventeen (Chrome in IOS) without any active plugins and the website is still freezing when I make use of the “block-user” right after uploading a image(jpeg)!!

    Brgds.
    Chris

    #21929
    Shamim Hasan
    Keymaster

    It seems it is an ios bug.
    Please go to this plugins’s block-unblock.js and remove line 5,6 & 7 (remove following code)

    if ( ! $( element ).hasClass( 'fep_user_blocked' ) && ! confirm( fep_block_unblock_script.confirm.replace( '%s', $( element ).data( 'user_name' ) ) ) ) {
    	return false;
    }
    

    Then clear your browser cache and test.

    #21984
    User Deleted
    Participant

    I’ve tested it and it seemed to fix the issue, but the problem seems to be more related to the upload than the block-unblock.js. With (or without) removing the code the page freezes on other parts of the page. After testing a while, to understand why this happens not in all parts of the page, it seems that it has something to do with the use of jQuery. Whenever jQuery is used after the upload (even when it’s not directly after), the page freezes.

    #22001
    Shamim Hasan
    Keymaster

    This is not problem with website. It is a bug of IOS mobile. as most of the page with jQuery uses alert and confirm js function, IOS bug freeze that time.
    You can google to find more.

    #22367
    User Deleted
    Participant

    The problem is the use of native JS dialog in general(confirm, alert, promt).
    I finally fixed it by replacing the JS confirm with jquery-ui dialog.

Viewing 8 posts - 1 through 8 (of 8 total)

You need to purchase ‘Front End PM PRO’ to create topic in this support forum.

If you already purchased ‘Front End PM PRO’ please LOGIN.