POST
|
In 4.27, the view could listen and respond to click events (e.g. right click) while in drawing mode (activeTool not null or reshape/transform). Now with 4.28, when you are in drawing mode, the view event listener for click events is not firing at all. Only once the Sketch tool activeTool returns to null or reshape/transform, the view click events are working. How can I set up the view to listen for click events while the activeTool is in draw mode?
... View more
11-08-2023
10:47 PM
|
0
|
5
|
3886
|
POST
|
The calcite-list-item does not have an "icon" property. https://developers.arcgis.com/calcite-design-system/components/list-item/#properties Not sure where you want the icon displayed, but you can set a calcite-icon in one of the "content" slots. So instead of setting the "icon" attribute, set the item innerHTML to something like this: item.innerHTML = '<calcite-icon icon="layer" slot="content-start"></calcite-icon>'; The completed element should look like this: <calcite-list-item label="My label" description="My description" value="myvalue">
<calcite-icon icon="layer" slot="content-start"></calcite-icon>
</calcite-list-item>
... View more
11-07-2023
10:17 PM
|
1
|
0
|
942
|
POST
|
With the new Calcite 1.10.0 components, a vertical scroll bar is now showing up in the calcite-tab component. I've noticed that the "content" class of the shadow-root for calcite-tab now has a new property that adds a padding-block of 0.5rem. Here is a Codepen showing the result: https://codepen.io/fcbasson/pen/rNPjPYM Removing or disabling the "padding-block" property also takes care of the vertical scroll bar. This behaviour manifests in a calcite-tab (with a calcite-tab-nav) hosted inside a calcite-panel. It does not happen with Calcite 1.9.2 components. How can I get rid of the extra padding and vertical scroll bar inside the calcite-tab?
... View more
11-06-2023
11:52 PM
|
0
|
1
|
912
|
POST
|
Try putting the panel content, i.e. the divs for each of the calcite-notice, within a single containing div, which acts as the panel default content container.
... View more
05-01-2023
11:10 PM
|
0
|
1
|
653
|
POST
|
The font color of the "label" attribute of the calcite-list-item is specified by the --calcite-ui-text-1 CSS root variable color. Try setting the calcite-list-item label like this: calcite-list-item{
--calcite-ui-text-1: #f00;
} You can also set the global color property for the framework colors: :root{
--calcite-ui-text-1: #f00 !important;
} "!important" is required to overwrite the default theme colors. More info here: https://developers.arcgis.com/calcite-design-system/core-concepts/
... View more
04-19-2023
11:28 PM
|
0
|
0
|
2377
|
POST
|
Issue appears in Calcite version 1.0.7 (and earlier versions). I'm noticing a downward vertical offset of the calcite-dropdown list when it is put inside a calcite-block with a heading property. When the block heading property is removed, the list appears in the correct position directly below the list. Here is a Codepen to replicate the issue: https://codepen.io/fcbasson/full/KKxMLgJ
... View more
02-24-2023
12:18 AM
|
0
|
2
|
692
|
POST
|
I need some clarity on the TypeError being generated for Calcite Tabs. It seems the error is generated during the DOM rendering when the tabs are not directly visible in the DOM body, but instead in a parent element such as a calcite-panel. The line in the module where the error occurs upon creating a new class reads as follows: this.activeIndicatorEl.style.transitionDuration = "0s" It seems as if the "activeIndicatorEl" property is not found. I have created a CodePen (https://codepen.io/fcbasson/pen/KKByZzV) with two sets of tabs, of which one is within a panel. Have a look at the browser console when the DOM is rendered to see the errors popping up.
... View more
01-19-2023
01:08 AM
|
0
|
7
|
1468
|
POST
|
Hi Are you using the latest release (1.0.0-beta.94)? The "start" and "end" properties have been deprecated and should be replaced with "min" and "max" properties. https://developers.arcgis.com/calcite-design-system/components/date-picker/#api-reference <calcite-date-picker min="2022-01-01" max="2022-12-31" value="2022-09-27"></calcite-date-picker>
... View more
09-27-2022
12:36 AM
|
1
|
2
|
1736
|
POST
|
Thanks @KittyHurley . I've reverted to .86 in the meantime.
... View more
08-23-2022
06:43 AM
|
0
|
1
|
779
|
POST
|
With the Calcite 1.0.0-beta.91 release, the action bar is hidden behind the map and the action buttons are "disabled". Even in the sample (https://developers.arcgis.com/calcite-design-system/tutorials/create-a-mapping-app/) this behaviour persists. This was not the case with the 1.0.0-beta.86 release. How do I fix this?
... View more
08-23-2022
12:06 AM
|
0
|
3
|
831
|
POST
|
Yes, it works if you add an additional "token" parameter as part of the WMS parameters. Make sure to obtain the token from the correct endpoint (AGOL, Portal or Server). For ArcGIS Online or Portal, this is https://www.arcgis.com/sharing/rest or similar to https://www.example.com/portal/sharing/rest. For ArcGIS Server this is similar to https://www.example.com/arcgis/rest/services.
... View more
08-15-2022
01:30 AM
|
0
|
0
|
309
|
POST
|
Thanks for the info! Can't believe I missed that post. That might well be the issue. Even the popups are using sanitizer!
... View more
06-28-2022
10:18 AM
|
0
|
0
|
1507
|
POST
|
Hi @BenElan I see in your codepen that the content is a DOM object that is created. With this codepen (https://codepen.io/fcbasson/pen/JjLjNQB) I am creating the HTML content as a string, and this method has been working for me so far. After I changed to 4.24 this method "broke", but I also picked up that by setting the API to 4.23 in my codepen also does not work. For my production app I'm creating calcite tabs with dynamic content that is set as the popup content, which has been working for me up to now. From my understanding, HTML content in the popup can be set with a string, but I'm obviously missing something.
... View more
06-28-2022
09:52 AM
|
0
|
2
|
1514
|
POST
|
With the release of the new Javascript API 4.24, Calcite components are not being displayed and rendered properly in the popup. Upon inspection of the DOM, all calcite component tags have been cleared/removed and only the text of the components is being displayed. It was working fine with the 4.23 version of the JS API, so unless I'm missing something when setting the content for the popup, I'm suspecting this is a bug. I've tested it in the Sandbox samples too and getting the same result.
... View more
06-28-2022
04:44 AM
|
0
|
4
|
1549
|
Title | Kudos | Posted |
---|---|---|
1 | 09-17-2024 12:29 AM | |
1 | 03-15-2024 11:33 AM | |
1 | 03-13-2024 11:20 PM | |
1 | 03-13-2024 11:22 PM | |
1 | 03-14-2024 03:37 AM |
Online Status |
Offline
|
Date Last Visited |
Tuesday
|