Alexander Maryanovsky
12/10/2023, 7:12 PMTooltipArea
to be cumbersome and would like to implement a Modifier.tooltip(String)
for when I just want to add a simple textual tooltip to an element. But I can’t just write Box
in a modifier. How would I go about implementing this?Greg Steckman
12/10/2023, 11:03 PMHoverableElementArea
here. Is that something like what you are looking for? Doesn't really do much on Android since there is no mouse pointer but it works on Desktop and web.brandonmcansh
12/11/2023, 2:04 PMbrandonmcansh
12/11/2023, 2:05 PMAlexander Maryanovsky
12/11/2023, 2:07 PMTooltipHost
somewhere high in the hierarchy, and Modifier.tooltip
could communicate with it.