atomic-docs icon indicating copy to clipboard operation
atomic-docs copied to clipboard

JQuery Version Conflicts

Open iamra opened this issue 8 years ago • 6 comments

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 avatar Dec 24 '16 06:12 iamra

@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.

nickberens360 avatar Dec 24 '16 19:12 nickberens360

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.

iamra avatar Dec 24 '16 21:12 iamra

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 avatar Apr 04 '17 15:04 melanieceraso

@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. image

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.

nickberens360 avatar Apr 04 '17 19:04 nickberens360

Is atomic docs dependant on jQuery v3.1.1? Or can you overwrite it in atomic-core/vendor/jquery.js?

dallasantwerp avatar Aug 23 '17 18:08 dallasantwerp

@dallasantwerp Im using 3.1.1 for any particular features so try changing it in the location mentioned and see what happens:)

nickberens360 avatar Aug 27 '17 16:08 nickberens360