callstack / callstack/react-native-paper
Touch to display tooltip (Not long touch)
- Langage dominant
- TypeScript
- Étoiles
- 14.5k
- Forks
- 2.2k
- Merge moyen
- 5 j 23 h
- PR mergées (30 j)
- 12
Description
**Is your feature request related to a problem? Please describe.**
I have an info icon like ℹ️ or similar. I would like my users to touch the icon, without long touch, as this would be more intuitive
**Describe the solution you'd like**
Can we add an option to touch without to long touch for the tooltip text to be triggered? I'd be happy to pick this up
**Describe alternatives you've considered**
I have tried setting the `enterTouchDelay` prop to something like `0` or `1` so that it might trigger much sooner. Seems like this delay is only applicable after a long touch is registered
**Additional context**
an example where I'd prefer a touch instead of a long touch
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Commencez par le composant Tooltip et son comportement enterTouchDelay, puis examinez comment l’activation par touch et long-touch est actuellement distinguée. Définissez le comportement immédiat attendu lors d’un touch pour l’exemple info-icon et ajoutez une couverture correspondante avant de confirmer que le comportement existant de long-touch fonctionne toujours.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- react-native, typescript
- Domaine
- mobile
- Type d'issue
- Fonctionnalité
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 35/100