Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Ajax Search Pro crashes Safari when viewport is minimized
This topic contains 13 replies, has 2 voices, and was last updated by remkovdz 8 years, 8 months ago.
- AuthorPosts
- March 10, 2015 at 8:13 pm #4148March 11, 2015 at 10:42 am #4150
Hi!
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?
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
March 11, 2015 at 10:53 am #4153March 11, 2015 at 12:01 pm #4158Well, 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.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
March 11, 2015 at 12:21 pm #4159I 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 #4175I gave you FTP access.
March 12, 2015 at 11:40 am #4199Hi!
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.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
March 12, 2015 at 11:41 am #4200Yeah sorry about that. Should be good to go in about an hour.
March 12, 2015 at 12:36 pm #4203You can login now.
March 13, 2015 at 4:48 pm #4210Hi!
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.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
March 18, 2015 at 9:39 am #4242Hi 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 #4244Hi!
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.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
March 18, 2015 at 11:06 am #4248thanks.
March 18, 2015 at 4:04 pm #4259I have tried your solution (simply saving your icons and upload them) and it worked. I don’t understand why, but thanks 🙂
- AuthorPosts
You must be logged in to reply to this topic.