Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Ajax Search Pro crashes Safari when viewport is minimized
- This topic has 13 replies, 2 voices, and was last updated 11 years, 2 months ago by
remkovdz.
-
AuthorPosts
-
March 10, 2015 at 8:13 pm #4148
remkovdz
ParticipantWhen the Ajax Search Pro plugin is activated, Safari crashes when you minimize the viewport.
No problems so far in Chrome.
-
This topic was modified 11 years, 2 months ago by
remkovdz.
March 11, 2015 at 10:42 am #4150Ernest Marcinko
KeymasterHi!
Are there any more details on this, like error logs, error codes or anything similar?
Does the same thing happen if you try the demo page?
March 11, 2015 at 10:53 am #4153remkovdz
ParticipantIt does not happen on the demo page.
Safari error message in the attachement.
-
This reply was modified 11 years, 2 months ago by
remkovdz. Reason: Moved to attachement
March 11, 2015 at 12:01 pm #4158Ernest Marcinko
KeymasterWell, I don’t see any usable reference here unfortunately. But, I was able to see the problem on my iPad, since I’m on a windows machine.
This is going to be a theme or plugin conflict, since it’s not happening on the demo page.
I tried to disable some of the javascript files to load via the plugin manager, but that didn’t help I think.
The resize issue was only happening on the front page of the site on my iPad, can you confirm that?
Unfortunately I can’t access the javascript files for debugging via the plugin manager, only the php files. If you want, you can provide ftp access and I can try to investigate further on this, but I can’t promise I find the source of the problem, since this is most likely related to other plugins as well.
March 11, 2015 at 12:21 pm #4159remkovdz
ParticipantI have done some experiments with disabling plugins but I kept seeing the same problem.
However, when I changed to another theme, like Twenty Fourteen, and used your Search Box, there was no crashing. So it seems to be a conflict with the theme FlatSome.
I will provide you with FTP details later.
March 11, 2015 at 2:17 pm #4175remkovdz
ParticipantI gave you FTP access.
March 12, 2015 at 11:40 am #4199Ernest Marcinko
KeymasterHi!
I just logged in, but it looks like you are working on it right now, as I can’t see the search shortcode anymore. I’ll check back a bit later.
March 12, 2015 at 11:41 am #4200remkovdz
ParticipantYeah sorry about that. Should be good to go in about an hour.
March 12, 2015 at 12:36 pm #4203remkovdz
ParticipantYou can login now.
March 13, 2015 at 4:48 pm #4210Ernest Marcinko
KeymasterHi!
After a few hours of experimenting I might have found the cause, but I’m not able to fix it per se.
When resizing, the menu script physically moves the nodes around the node tree. I have no idea why the theme author choose this solution, but he must have had his reasons.
The problem is, I found, that safari fails when moving SVG nodes from one position to another. I have no idea why, this shouldn’t happen, just like in the other browsers. The search unfortunately uses high resolution SVG icons (magnifier, loading, settings).
When I disabled these icons in the code, the page didn’t fail.Luckily there is a solution I guess. You will have to upload custom icons for magnifier, settings and loading. The good thing is, that you can do that on the backend under the Theme Options panel for each icon.
There are a few unused (non svg) icons available in the plugins /img/ folder, you can use those if you want to.
March 18, 2015 at 9:39 am #4242remkovdz
ParticipantHi Ernest.
I will look into this soon, but first: since you’ve looked at it the searched does not work at all anymore 🙁 No live results, weird input (half in the box) etc. Can you have a look?
March 18, 2015 at 10:29 am #4244Ernest Marcinko
KeymasterHi!
Sorry about that. I tried the ftp again, but I couldn’t make changes, I got a permission denied. I guess I didn’t see that the last time, and one “return” statement was left in the code.
It should work now.
March 18, 2015 at 11:06 am #4248remkovdz
Participantthanks.
March 18, 2015 at 4:04 pm #4259remkovdz
ParticipantI have tried your solution (simply saving your icons and upload them) and it worked. I don’t understand why, but thanks 🙂
-
This topic was modified 11 years, 2 months ago by
-
AuthorPosts
- You must be logged in to reply to this topic.