Home › Forums › Programming › Problem with refreshing a page with verge3d
- This topic has 8 replies, 3 voices, and was last updated 4 years, 11 months ago by Anonymous.
-
AuthorPosts
-
2019-10-12 at 8:18 pm #20120HoboCatCustomer
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.2019-10-13 at 8:15 am #20133Yuri KovelenovStaff2019-10-13 at 8:02 pm #20175HoboCatCustomerCan I send it to you pm? The page can not be published yet due to some security issues.
2019-10-14 at 2:45 pm #20270Yuri KovelenovStaffHi,
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)
2019-12-06 at 10:43 am #21778HoboCatCustomerHello,
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)2019-12-06 at 12:58 pm #21781Yuri KovelenovStaff2019-12-08 at 4:40 pm #21818HoboCatCustomerAhh,
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.
2019-12-09 at 7:41 am #21829Yuri KovelenovStaffHi,
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_JavaScript2019-12-09 at 9:23 am #21835AnonymousInactivedid you try hard reload? F12 + long click on reload button in chrome
-
AuthorPosts
- You must be logged in to reply to this topic.