Closed Jfairfield1 closed 7 years ago
Can you provide a repo case? I just ran this jQuery sample and it seems work as expected. Thanks.
I created a jsbin example showing the error I am talking about:
https://jsbin.com/xidohezuga/edit?html,output
If you load this jsbin and try to toggle the basemap panel, it throws the error.
It looks like the issue may be this selector on line 39:
$(".calcite-panels .panel.in");
It isn't finding any elements in this example
You are mixing and match jQuery and the dojo loader.
Here's an example using dojo to load bootstrap and calcite-maps and jQuery is loaded at the end. https://jsbin.com/damafe/edit?html
This one loads dojo just for ArcGIS and then jQuery for bootstrap and calcite-maps. https://jsbin.com/zowizeq/edit?html
Closing.
After including the jquery version of the build for calcite maps, I am getting this error
panels.collapse is not a function
It is occurring on line 40
panels.collapse("hide");