Hover effects on touch devices #2631
Replies: 1 comment 3 replies
-
|
For 1 (hover effects), there is this issue: #1827. We recently fixed it in Tree, but had to hack around our tests (#2618 (comment)). We'd probably need to rework our testing architecture before we can make this across the board. Since your issue happens to be in Tree as well, you probably just need to update iTwinUI versions. For 2 (tooltip), ideally we show tooltips on touch devices when long pressing. We don't want to introduce an unnecessary disparity between touch and pointer devices (the point about being "more annoying than helpful" has nothing to do with touch devices). Ideally this enhancement should be handled in iTwinUI, but we currently don't have the bandwidth so realistically this would only happen in StrataKit. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
We received feedback from consumer using our tree component built on top of iTwinUI Tree regarding hover effects on touch devices: iTwin/viewer-components-react#1428
I was wondering if those hover effect on checkbox on touch devices are intended and if not I think it should be disabled in iTwinUI rather then we hacking it out.
Regarding tooltips on touch devices I would like to get general answer if they should be shown or not. On desktop I feel that they are useful provide some additional information to user. However, on touch devices I am not sure how they are activated(shown)/deactivated and from the recording in linked issue it seems that that are more annoying than helpful. If that's the case should it also be handled by iTwinUI or we need to have code checking for touch devices and handled that on our end?
Beta Was this translation helpful? Give feedback.
All reactions