POST
|
It is probably because codepen live updates, so you are getting the error when you add the tab property to calcite-tab-title and before you add it to calcite-tab. Once all of the tab properties are added you will no longer see the error.
... View more
07-08-2022
09:37 AM
|
0
|
0
|
585
|
POST
|
If you added tab="test" to a calcite-tab-title, then adding tab="test" to the corresponding calcite-tab will make the errors go away.
... View more
07-08-2022
08:42 AM
|
0
|
2
|
594
|
POST
|
When using the tab property, you need to use the same value for the calcite-tab-title and its calcite-tab. Here is a codepen: https://codepen.io/benesri/pen/WNzwxNg It does mention it in the tab-title documentation - https://developers.arcgis.com/calcite-design-system/components/tab-title/#component-api-properties-tab
... View more
07-07-2022
06:02 PM
|
0
|
4
|
619
|
POST
|
I edited the codepen a bit, is this what you're looking for? https://codepen.io/benesri/pen/gOeOeLp
... View more
06-29-2022
10:41 AM
|
0
|
0
|
552
|
POST
|
Hi @LefterisKoumis, you can use Panel's header-actions-end slot. Here is a sample: https://codepen.io/benesri/pen/gOeOeLp?editors=1000
... View more
06-28-2022
06:18 PM
|
0
|
0
|
591
|
POST
|
The JSAPI has an html sanitizer which may be causing the issue for you. I wrote a blog about it a while ago: https://www.esri.com/arcgis-blog/products/js-api-arcgis/mapping/using-html-with-popups-in-the-arcgis-api-for-javascript/ You can still use a string to create the popup content like this: https://codepen.io/benesri/pen/zYWYzKa?editors=1010 It sounds like it may not be an issue with 4.24 since your codepen also doesn't work in 4.23. What is likely happening is the components you are using now are being sanitized, but the ones in the production app are not. If you are able to confirm that it is a JSAPI regression from 4.23 to 4.24, I suggest posting on their Community page or submitting a support ticket. Let me know if you have any additional questions, I'm happy to help!
... View more
06-28-2022
10:10 AM
|
1
|
1
|
870
|
POST
|
Hi @FC_Basson, can you please provide a codepen that reproduces the issue? It is working for me: https://codepen.io/benesri/pen/XWEWRzR?editors=1010
... View more
06-28-2022
09:25 AM
|
0
|
3
|
876
|
POST
|
Hmm, there must be something else going on in the app that was not ported over to the codepen. If you're able to get the codepen to reproduce the issue, I'd be happy to take a look.
... View more
06-21-2022
10:05 AM
|
0
|
1
|
726
|
POST
|
Hi @GregoryBologna, I am not able to reproduce this issue - https://codepen.io/benesri/pen/JjpVPzK?editors=1010 Can you please provide a codepen that does reproduce the issue?
... View more
06-17-2022
09:30 AM
|
0
|
3
|
769
|
POST
|
The MapView's hitTest method is what you're looking for, here is a sample.
... View more
06-01-2022
09:27 AM
|
1
|
0
|
604
|
POST
|
It is hard to tell what is going wrong without seeing any code, but my guess is you are listening to events like document.addEventListener(... If there are multiple elements that emit the same event type but their event listeners need different callback functions, then you should add the listeners directly to the specific elements. e.g. document.getElementById("featureTableButton").addEventListener(...
document.getElementById("sketchButton").addEventListener(... If that doesn't help, can you please provide a codepen that reproduces the issue?
... View more
05-31-2022
02:20 PM
|
0
|
1
|
530
|
POST
|
Hi @BobCowling2, There is also a GitHub enhancement request to allow for custom handles and ticks: https://github.com/Esri/calcite-components/issues/4004
... View more
05-16-2022
09:16 AM
|
2
|
0
|
1178
|
POST
|
Can you provide the JavaScript code snippet where you add the event listener? My guess is you're only adding the listener to one of the calcite-action-bar elements. You can use querySelectorAll to add an event listener to all of the calcite-action-bar elements. document
.querySelectorAll("calcite-action-bar")
.forEach((element) =>
element.addEventListener("click", handleActionBarClick)
); Or you could add ids to the action bars and use those. [
document.querySelector("#action-bar1"),
document.querySelector("#action-bar2"),
].forEach((element) => element.addEventListener("click", handleActionBarClick));
... View more
05-06-2022
01:16 PM
|
1
|
1
|
1286
|
POST
|
Yeah a dismissible panel is your best bet. Here is a codepen: https://codepen.io/benesri/pen/zYRGLNY?editors=1000
... View more
05-04-2022
02:24 PM
|
1
|
0
|
577
|
POST
|
If I'm following the question correctly, you want to put the JSAPI widgets in a container that has a close button? Did you try putting the widgets in a dismissible calcite-panel? I provided a code snippet in a different thread.
... View more
05-04-2022
02:08 PM
|
0
|
2
|
581
|
Title | Kudos | Posted |
---|---|---|
1 | 12-22-2021 10:22 AM | |
1 | 01-19-2023 11:10 AM | |
1 | 08-30-2022 04:09 PM | |
2 | 08-22-2022 03:20 PM | |
1 | 08-22-2022 03:57 PM |
Online Status |
Offline
|
Date Last Visited |
02-03-2023
03:22 AM
|