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

  • This topic has 8 replies, 3 voices, and was last updated 5 years ago by Anonymous.
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #20120
    HoboCat
    Customer

    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.

    #20133

    Hi,

    got a link to project?

    Chief 3D Verger | LinkedIn | Twitter

    #20175
    HoboCat
    Customer

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

    #20270

    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)

    Chief 3D Verger | LinkedIn | Twitter

    #21778
    HoboCat
    Customer

    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)

    #21781

    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

    Chief 3D Verger | LinkedIn | Twitter

    #21818
    HoboCat
    Customer

    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.

    #21829

    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

    Chief 3D Verger | LinkedIn | Twitter

    #21835
    Anonymous
    Inactive

    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.