-
Notifications
You must be signed in to change notification settings - Fork 78
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
calcite-list-item
missing pointer cursor style
#6123
Comments
This seems to be a result of the <calcite-list selection-mode="single">
...
</calcite-list> This seems to be the expected behavior, but we could add documentation to the component for additional context. |
Ah interesting, is there a way to do this without the visual selected state? Our use case is a user selects a processing tool from a list of options and that tool gets added to a processing model, I don't think it makes sense to keep the tool highlighted after the user chooses an option. They can select the same option twice and that tool should get added to the model twice, for example, and they aren't choosing one exclusive option |
Not at this time. Prior to the refactor we had a The visual feedback is useful for more diverse audiences, so we decided to remove the
Good to know, don't believe we knew of a use case so good to get additional context. For us to re-evaluate after next month's release, could you or the team add additional visuals for the expected behavior so when we are able to convene we can determine some viable options for consideration in a future release? |
The use case we have in the map viewer is in the issue linked that was originally open.. basically we use the list item to list tools that the user can select and open. The visual selection indicator does not make a lot of sense in this context as the panel changes when the user selects one of the tools. We got feedback that not having pointer cursor styling feels a bit off, but is there a different component we could use to get this same effect maybe? The other list components also don't really fit the job it seems like |
Our use case is similar to Ethan's, the expected behavior is how the list works in beta.98 (hover pointer & background styles, no selection style or state). Here's a codepen using this version: https://codepen.io/mpayson/pen/NWBPMpM |
Yep, this makes sense to me as well. If we do it on the selection modes, then we should be consistent and also do it when the mode is set to |
@driskull Going to add this to the January milestone to add the cursor pointer when |
Installed and assigned for verification. |
**Related Issue:** #6123 ## Summary Add pointer cursor on hover
**Related Issue:** #6700 ## Summary It was decided that the majority of cases use the layer list to perform some kind of action so the default should be to have hover and pointer styling by default. In the future, we may add another selectionMode to provide a better UX for "non interactive" lists. Further information: #6123 (comment) - Always has the hover and pointer styling on a list item regardless of selectionMode - Add e2e test
Actual Behavior
calcite-list-item
does not use a pointer style for the cursor. Looks like this was fixed in #5880 but the pointer may have changed again?cc @ethanbdev @AdelheidF @geospatialem
Expected Behavior
calcite-list-item
uses the pointer style so the items appear clickable, see gif under "Expected behavior" here: #5880Reproduction Sample
https://codepen.io/mpayson/pen/mdjdNBq
Reproduction Steps
Reproduction Version
beta.99
Relevant Info
No response
Regression?
next.660
Impact
No response
Esri team
ArcGIS Online
The text was updated successfully, but these errors were encountered: