-
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
Tooltip: adjust default padding across scale
property and pointerDisabled
with the ability to disable the pointer
#5334
Comments
Yes, |
scale
property and pointerDisabled
with the ability to disable the pointer
+1 on this for ArcGIS Mission. We have no issues with the font size at 12, but would appreciate the option for smaller padding so that the tooltip doesn't block other UI elements. |
To confirm from design, we plan to maintain the font size and reduce the default padding across the board, correct? @ashetland @SkyeSeitz |
Correct |
Updated designs posted in the issue description. |
Description
Tooltip with half the padding and possibly slightly smaller font size.
Acceptance Criteria
Add boolean
compact
(or similar) property to accomplish the above.Also...possibly a property to disable the arrow element. When combined with
compact
, toolitp would be more like a native browser title.Relevant Info
No response
Which Component
tooltip
Example Use Case
For actions in bars or pads or in header slots the tooltip size is fine as is. But seems too big and overwhelming in content with lots of controls and such, especially when using small scale components.
A smaller tooltip without an arrow might also be able to replace native expand/collapse titles for blocks and accordions, and other similar situations. I don't know if that would create an accessibility issue or not. A mix of tooltips and native titles seems visually odd in my personal opinion.
Calcite design solution
Figma file available and includes:
pointer-disabled
propertyThe text was updated successfully, but these errors were encountered: