creativetimofficial / ct-argon-dashboard-pro

A beautiful Premium Dashboard for Bootstrap 5.
https://demos.creative-tim.com/argon-dashboard-pro/pages/dashboards/landing
30 stars 13 forks source link

SideBar blocked with Ajax Requests caused by Argon.js #30

Open Whisper40 opened 4 years ago

Whisper40 commented 4 years ago

Prerequisites

Expected Behavior

My page should be generated as actually but with the sidebar that can be hidden.

Current Behavior

Actually, the side bar is fixed, cannot click on it to hide.. The side bar without ajax request is working fine, but with an ajax request that use the "argon.js..." it becomes blocked !

Failure Information (for bugs)

No errors in console, i have tested a lot of combinaison in order to find the JS that was causing my problem. And this is the argon.js

Steps to Reproduce

  1. Create a page with a sidebar on the left
  2. On this page make an input in order to enter text
  3. Click on the button to submit the AJAX
  4. It returns you the result in a dropdown button corresponding to what you enter
  5. Select a result in the dropdown
  6. It generates a Datatables.net table with button(copy....print..)
  7. ( 2 options : If you get out the argon.js from the second ajax(the one that load the datatables), the table will not be displayed properly ) Other option, if you keep the argon.js from the second ajax, the datatables will be displayed correctly, but the sidebar will be blocked (cannot hide it) Please provide detailed steps for reproducing the issue.

Context

I'm sure that only one Jquery is Loaded. I use Ajax to load my data As something like that : `

function SendSearchBar(){ var codesa = $("#valeursearchbar").val(); if(codesa.length >= 3){ $.ajax({ url : "../../ajax/searchbar.php", type : 'POST', data : 'codesa=' + codesa, dataType : 'html', success : function(data, statut){ $('#resultatenvssearch').html(data); }, error : function(resultat, statut, erreur){ ShowMessageNotification('error', 'Aïe ! C\'est une erreur de POST ! ', 4000, 'top-end'); } }); } }

`

rarestoma commented 4 years ago

Hi @Whisper40,

Thank you for working with our products.

Can you please send us a short video on support@creative-tim.com so we can see clearly what is happening?

Thank you, Rares

Whisper40 commented 4 years ago

Hello, video has been submitted

onyashed commented 3 years ago

What was your response @rarestoma . Project is due and template cant be changed. let me try disable argon.js...