Unable to close notification since on release v4.5.0
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Accessibilité débutants
- 38/100
- Type d'issue
- Bug
- Clarté
- Plutôt claire
- Activité
- À l'abandon
- Stack technique
- react, typescript
- Domaine
- frontend
Piste de recherche
Commencez par suivre le point d'entrée removeNotice et le tableau notices dans le module rc-notification, puis suivez la manière dont l'état React est rendu dans l'UI. Confirmez que la suppression d'une clé valide entraîne la disparition de la notification correspondante lorsque l'icône de fermeture appelle removeNotice.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
Our component library has been using rc-notification, and closing the notification started to not work since release v4.5.0. To be more specific, removeNotice method gets called, and I see that the notices array in the React state of rc-notification module removes the correct item. However, the state change does not get reflected in the UI, and the notification does not disappear from the screen.
Expected behavior:
- Invoking "removeNotice" method with valid key correctly removes the notification from the UI
Current behavior:
- Clicking on the close icon that calls "removeNotice" method removes the notice in the state correctly, but the notification does not disappear from the UI
- Langage dominant
- TypeScript
- Étoiles
- 384
- Forks
- 121
- Merge moyen
- 1 h 31 min
- PR mergées (30 j)
- 4
Préparer son environnement
Ce projet ne fournit ni conteneur de développement, ni Dockerfile, ni guide de contribution : l'installation est à votre charge. Commencez par son README, et consultez notre guide de la première contribution pour les étapes générales.
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de react-component/notification
-
Notification上不存在属性“newInstance”Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 45/100
react-component/notification#382 ·
-
为什么RcNotification是undefinedOuverte
Difficulté 3/5 1-2 jours Accessibilité débutants 25/100
react-component/notification#356 · 2 commentaires ·
-
Difficulté 2/5 1-3 heures Accessibilité débutants 42/100
react-component/notification#333 ·
-
项目里如何只在一处地方添加`contextHolder`Ouverte
Difficulté 3/5 1-2 jours Accessibilité débutants 25/100
react-component/notification#307 ·
-
谷歌标签页休眠导致maxCount属性失效Ouverte
Difficulté 3/5 1-2 jours Accessibilité débutants 48/100
react-component/notification#305 ·
Toutes les issues de react-component/notification
Issues similaires
-
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
Les mainteneurs répondent en général sous 1 jour
-
kind/chore priority/must
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
sidereal-io/sidereal#380 ·
Les mainteneurs répondent en général sous 1 jour
-
Mend: dependency security vulnerability
Difficulté 2/5 1-3 heures Accessibilité débutants 62/100
opfab/operatorfabric-core#10653 ·
Les mainteneurs répondent en général sous 1 jour
-
backend bug size:sm
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
chrisbenincasa/tunarr#2237 ·
Les mainteneurs répondent en général sous 1 jour
-
documentation
Difficulté 2/5 Une demi-journée Accessibilité débutants 69/100
Lam30ne/regulate-app#39 ·