POST
|
Hi @FC_Basson , we did find a potential chrome bug that may be related to the password issue. https://bugs.chromium.org/p/chromium/issues/detail?id=1496312&q=duplicate%20id%20shadow&can=2 The id's for toggle shouldn't be an issue since they are encapsulated within a shadowRoot. So it might just be a false positive warning that is occurring here.
... View more
12-01-2023
11:14 AM
|
1
|
0
|
242
|
POST
|
Hi @FC_Basson do you have a code sample you could share where you're seeing this? I wasn't able to see it in chrome. These id's are within the shadowRoot of a component so they should not be conflicting with each other since they are in a different DOM root.
... View more
11-27-2023
11:10 AM
|
0
|
0
|
296
|
POST
|
Great suggestion @BenPitcairn . We can do that by adding some new slots for center content at the 'start' (top) and 'end' (bottom). Created issue here: https://github.com/Esri/calcite-components/issues/5668
... View more
10-31-2022
10:16 AM
|
0
|
0
|
447
|
POST
|
Shell hasn't been depreciated, i'll see whats going on there as well. Thanks
... View more
06-23-2021
09:54 AM
|
1
|
0
|
842
|
POST
|
Hey @Anonymous User this sounds like a bug. I see that the max-width is based on the screen (max-width: 20vw). I'll report to the team. Thanks
... View more
06-23-2021
09:48 AM
|
0
|
3
|
847
|
POST
|
Hey Jay, I think that is because either the layer you're using needs the `outFields` set on it to define what fields are needed or you can also set the `outFields` on the popupTemplate. https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html#outFields
... View more
08-11-2020
01:50 PM
|
0
|
1
|
5803
|
POST
|
Hi Jay, it would be something like this: const popupTemplate = new PopupTemplate({
content: (event) => {
const { graphic } = event;
const container = document.createElement("div");
if (graphic.attributes.FaultZone) {
const faultZone = document.createElement("strong");
faultZone.textContent = "Fault Zone:";
container.appendChild(faultZone);
const faultZoneSum = graphic.attributes.Summary;
const faultTip = document.createElement("span");
faultTip.textContent = faultZoneSum;
container.appendChild(faultTip);
faultTip.onclick = () => {
showHideCalcitePanels("#panelLegend", "#collapseLegend");
query("#customMessage").html(faultZoneSum);
};
}
return container;
}
});
... View more
08-10-2020
03:53 PM
|
0
|
3
|
5803
|
POST
|
Hi Kevin! I'm glad you found the presentations helpful Here's the demo code for the extended scalebar widget. You can find all the code you need there. dev-summit-2020-customizing-widgets/demos at master · jcfranco/dev-summit-2020-customizing-widgets · GitHub Let me know if that's what you were looking for. -Matt
... View more
07-29-2020
02:13 PM
|
2
|
1
|
737
|
POST
|
Hello, In 4.14, we are using a HTML sanitizer (https://github.com/Esri/arcgis-html-sanitizer) which removes some HTML for security purposes. We may be able to do something for this in 4.15. As an alternative workaround to a HTML string, you can do the following to modify a dom node directly. var template = {
content: function(){
var div = document.createElement("div");
div.className = "myClass";
div.innerHTML = "<span>My custom content!</span>";
return div;
}
};
... View more
01-03-2020
09:39 AM
|
0
|
7
|
5803
|
POST
|
Hello, In 4.14, we are using a HTML sanitizer (https://github.com/Esri/arcgis-html-sanitizer) which removes some HTML for security purposes. We may be able to do something for this in 4.15. As an alternative workaround to a HTML string, you can do the following to modify a dom node directly. var template = {
content: function(){
var div = document.createElement("div");
div.className = "myClass";
div.innerHTML = "<span>My custom content!</span>";
return div;
}
};
... View more
01-03-2020
09:38 AM
|
3
|
2
|
3443
|
POST
|
Richard Rhone how are you filtering the layers for each LayerList? - Are you filtering them using layer.listMode? - Are you using `listItemCreatedFunction` to filter them? - Some other way?
... View more
10-09-2019
09:10 AM
|
0
|
1
|
1121
|
POST
|
Thanks Richard Rhone. Can you try using `4.13` which is not yet released but the URL is available. I'm wondering if its still an issue. If it is, i'll create an example using a bunch of layers and multiple LayerLists to test with.
... View more
10-08-2019
05:49 PM
|
0
|
1
|
1121
|
POST
|
Hi Richard, What version of the API are you seeing this? I'd like to see if I can trace what is causing the slowness. If you have 50 layers with 5 LayerList widgets you shouldn't be seeing a slowdown like that. -Matt
... View more
10-07-2019
03:24 PM
|
0
|
3
|
1121
|
POST
|
This should work to fix it as well... var widget = new Search({
view: view
});
widget._set("allSources", widget.allSources.clone());
... View more
03-13-2019
02:34 PM
|
1
|
0
|
676
|
POST
|
Have you tried to use CSS to replace the icon content? An Anonymous Pen on CodePen This should work... .esri-icon-non-visible::before { content: "\e610"; } .esri-icon-visible::before { content: "\e611"; } from the icon font here: Esri Icon Font (Calcite theme) | ArcGIS API for JavaScript 4.10
... View more
03-08-2019
10:16 AM
|
5
|
5
|
3060
|
Title | Kudos | Posted |
---|---|---|
1 | 12-01-2023 11:14 AM | |
1 | 06-23-2021 09:54 AM | |
1 | 04-19-2018 04:41 PM | |
1 | 04-12-2018 11:10 AM | |
1 | 10-11-2018 02:48 PM |
Online Status |
Offline
|
Date Last Visited |
4 hours ago
|