Fix: Add mobile tap support for CustomTooltip
Notes for Reviewers
This PR fixes #1005
Signed commits
- [x] Yes, I signed my commits.
I tested the above changes, and it works for Modal Footer icon, CustomToolTips, InfoToolTips 👍🏼
Thank k you, @M-DEV-1
@M-DEV-1 any updates?
Screencast from 2025-05-21 04-04-29.webm
I've used the MUI props enterTouchDelay and leaveTouchDelay to support click on mobile device.
I had tried implementing this with ClickAwayListener but that enable onclick support for both desktop and mobile views, and I couldn't figure out a way to detect mobile devices without implementing something like isTouchDevice or media queries maybe.
@amitamrutiya
I've made the changes @amitamrutiya