atomic-docs
atomic-docs copied to clipboard
JQuery Version Conflicts
Seems that the jquery version Atomic-docs is using conflicts with latest jquery version for frameworks such as bootstrap or foundation. Is there a way to allow Atomic-docs to work without breaking due to this?
I will confirm the versions I am using and update this post with that information.
@iamra Hmm, is jquery possibly being called twice in atomic docs? If you are including jQuery in atomic-foot.php that will definitely cause an issue.
Sorry I have been meaning to submit this bug/issue for a while, I will go back and get the exact versions and steps to replicate and post on here. Thank you for an excellent software.
I seem to be having a similar issue when doing some basic hide/show functionality with an onclick function. When you trigger the function, it simply resets the page and doesn't seem to run. No errors are generating. Any direction with this would be welcomed.
@melanieceraso Is your preprocessor outputting to the js file that is connected to atomic-docs? I believe that file reference is in atomic-foot.php.
Have you created other js functions within atomic docs that are working?
Also, if you're trying a click event on an tag try switching it to a span tag or make sure you're using a preventDefault in the click event.
If you keep having issues feel free to zip up your project and send to me and I can take a look on my end.
Is atomic docs dependant on jQuery v3.1.1? Or can you overwrite it in atomic-core/vendor/jquery.js?
@dallasantwerp Im using 3.1.1 for any particular features so try changing it in the location mentioned and see what happens:)