- February 6, 2018 at 8:44 pm #146233
Here is the problem. When i load a site with a hashtag in the url (example.com/#test) the following error occurs.
Uncaught TypeError: Cannot read property 'top' of undefined at HTMLDocument.<anonymous> (shapely-scripts.js:30) at i (jquery.js:2) at Object.fireWith [as resolveWith] (jquery.js:2) at Function.ready (jquery.js:2) at HTMLDocument.K (jquery.js:2)
I cant link to an example as its on local server. But it happens on two different setups i run.February 6, 2018 at 9:40 pm #146240
I hope you are well today and thank you for your question.
Unfortunately, I’m unable to replicate that issue using the description mentioned.
Here’s a screencast where I added an ID, created a menu item.
An error is not generated in the test environment.
Support.February 7, 2018 at 1:30 am #146249
Hi and thanks for the reply.
I have recorded a video showing the problem on a complete fresh setup at localhost.
Shapely 1.2February 7, 2018 at 5:58 am #146262
Dear @buurdi in order to debug your website its necessary to bring it online, we cant check your problem while it is happening on your localhost, can you upload it?February 8, 2018 at 7:45 pm #146558February 8, 2018 at 8:44 pm #146565
I hope you are doing well today.
Where should # test lead to?
You need to ensure that the selector being used exists. So please try using this one as a test “#shapely_home_parallax-3”
SupportFebruary 9, 2018 at 1:33 am #146575
Did you even test it yourself? It still give the same error. And even tho it exist or not, the script shouldt giva an error.February 9, 2018 at 6:26 am #146590
NodaKeymasterFebruary 10, 2018 at 12:56 pm #146769
Im trying to make you fix this bug. in one of my websites im using anchor to navigate a one pager. But i had to remove all your “smooth scroll” code and make my own fix to make it work. Because when you navigated from another webpage it would trigger an error and make other elements fail.
Now i have reported the bug, do whatever you want.February 10, 2018 at 2:02 pm #146780
I am sorry for the inconvenience caused here.
In this case, it is a bug in the theme’s smooth scroll feature so we would have to let the developer know of this issue so that an update can be issued out.
You must be logged in to reply to this topic.