We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

Problem with refreshing a page with verge3d

Home Forums Programming Problem with refreshing a page with verge3d

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #20120
    AvatarHoboCat
    Licensee

    Hello,
    I’m building a webpage with many 3d scenes for different products customization. The user can type text and input images. Verge3d puzles are set to listen for buton click in parent html and then accordingly replaces texture.
    Recently I noticed a bug: when I reload a page with 3d scene, the customization does not work on 3d model anymore, it just shows the starting scene(it seems like maybe verge3d does not listen to button click on parent html). when this happens I can reload as many times as I want and it keeps this error. the only two things that brings a product customisation to work again is:
    1. opening another product customization with another 3d scene and come back to previous product.
    2. clear browser browsing data and reload the customizator.
    some other products doesnt seem to have this issue, but it seems that this problem mostly appears in those 3d scenes that was copied and pasted from previous products.
    Any clues what might solve this problem? browser console does not show any errors.
    Also just noticed that this bug only appears on pc version of google chrome.

    • This topic was modified 9 months ago by AvatarHoboCat.
    #20133
    Yuri KovelenovYuri Kovelenov
    Developer

    Hi,

    got a link to project?

    3D Verger, the CEO
    LinkedIn | FB | Twitter | VK | 新浪微博

    #20175
    AvatarHoboCat
    Licensee

    Can I send it to you pm? The page can not be published yet due to some security issues.

    #20270
    Yuri KovelenovYuri Kovelenov
    Developer

    Hi,

    Can you make a simpler project that does not contain any sensitive information and provide as an example for that issue? (We’d be glad to provide email support under the Tech Support plan though)

    3D Verger, the CEO
    LinkedIn | FB | Twitter | VK | 新浪微博

    #21778
    AvatarHoboCat
    Licensee

    Hello,
    Just published my site so now I can share the link:
    http://www.kaziukas24.lt/configure/12
    To see the problem:
    1. Click on ‘rodyti/slepti’
    2. In lower input field type in a text. You can see it appears on model.
    3. Refresh page and try to input text again. Sometimes the problem does not appear so if it happens try to refresh again. Sooner or later the problem appears(on Google chrome)

    • This reply was modified 7 months, 1 week ago by AvatarHoboCat.
    #21781
    Yuri KovelenovYuri Kovelenov
    Developer

    Hi,

    in the browser console it displays an error

    Cannot set property 'innerHTML' of null

    for element numselectorlabel

    you might want to check the ids, or make sure your page is loaded before accessing its elements

    3D Verger, the CEO
    LinkedIn | FB | Twitter | VK | 新浪微博

    #21818
    AvatarHoboCat
    Licensee

    Ahh,
    This was not related with verge3d this was fully my site javascript mistakes, just some browsers handles errors a bit diffrently.

    make sure your page is loaded before accessing its elements

    Also Im planning to expand functionalities in my page. I was wondering if I can tell my page somehow that verge3d is loaded? For example verge3d loads and it activates a hidden button in my page, wich tells javascript about scene has been loaded.

    • This reply was modified 7 months, 1 week ago by AvatarHoboCat.
    #21829
    Yuri KovelenovYuri Kovelenov
    Developer

    Hi,

    if I can tell my page somehow that verge3d is loaded?

    Sure, just a place a puzzle that calls a JavaScript function.
    https://www.soft8soft.com/docs/manual/en/introduction/Using-JavaScript.html#From_Puzzles_to_JavaScript

    3D Verger, the CEO
    LinkedIn | FB | Twitter | VK | 新浪微博

    #21835
    AvatarAnonymous

    did you try hard reload? F12 + long click on reload button in chrome

Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.