-
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
Enhancement: [Slider] Add option to show slider value on hover #1125
Comments
@macandcheese Here is a screen shot of a current slider experience we have in BA web. When we adopt the calcite component we would like to have this option... |
cc @bstifle for reference (note - it would just use our current calcite tooltip on hover). I think this is a good addition! |
Dig it!!! |
@macandcheese for our enterprise version, admins can change the dominant color of the app to match their branding. Does this component (and I guess most of the others) allow for this type of customization? |
Hey @ddred11 - yep, see this documentation page and playground: https://esri.github.io/calcite-components/?path=/story/overview-custom-theme--interactive-example Currently you would replace the "blue" CSS variables with the desired app's branding. We may add another "brand" set of CSS variables so we can maintain blue for use cases like "info" status in the future. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Still valid. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Valid |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
@macandcheese Would be nice to add this, as we merge this component into BA. Thanks |
Agreed, maybe a good one for @caripizza ? |
@macandcheese sure! 👍 |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Keep open |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Valid |
Note - ensure this shows on focus as well. |
If the implementation of this ends up using popper or |
Consider as a native tooltip with an option, like #1125 (comment) or similar? |
Description
It would be nice to have an option to show the value of a slider in a tooltip for cases where the persistent value doesn't need to be there
@ddred11 can you attach the screenshot of your current use case? Thanks!
Acceptance Criteria
Add an opt-in prop that shows the value of a slider on hover. Determine which prop "wins" between persisted value display and "show in tooltip on hover" (or, is both in that case ok?)
Relevant Info
Which Component
Example Use Case
The text was updated successfully, but these errors were encountered: