-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dropdown: disabled property for Dropdown Item #6667
Comments
Hello, Could you please clarify what is the approximate time for having this feature in the Calcite release? Thank you. |
@Anastasiia-Boleiko Thanks for pinging this issue, we'll be assigning to a future milestone shortly. |
High priority for Studio team please! (ArcGIS Knowledge) |
**Related Issue:** #6667 ## Summary This allows disabling dropdown items.
Installed and assigned for verification. |
Mistake on my part , Aaron mentioned to me that although the dropdown Item is greyed out and not selectable it is still showing hover effects as well as pressed effects. We want to remove those when an item is disabled. Screen.Recording.2023-12-11.at.9.11.43.AM.mov |
**Related Issue:** #6667 ## Summary This addresses pseudo-element selectors kicking in due to the `disabled` component style mixin not affecting `pointer-events` on the host (by design). ### Notes * Screenshot tests were not updated as our current setup does not allow us to test for pseudo-elements. Something like https://storybook.js.org/addons/storybook-addon-pseudo-states or https://www.chromatic.com/docs/interactions/ might help with this in the future. * Related styles using `:before` were removed as they do not appear to be in use (will submit a follow-up clean up PR afterwards).
Installed and assigned for verification. |
🍠 Looks great! Verified locally on Screen.Recording.2023-12-12.at.12.23.51.PM.mov |
Description
The dropdowns in our app can have some items disabled, which is currently not possible with the CalciteDropdown component.
Acceptance Criteria
Ability to make an individual Dropdown item disabled.
Relevant Info
No response
Which Component
calcite-dropdown-item
Example Use Case
No response
Priority impact
p2 - want for current milestone
Esri team
ArcGIS Urban
The text was updated successfully, but these errors were encountered: