mattermost-community/focalboard

Boards: JS errors when adding blank lines to a new comment on a card and navigating with cursors keys

Ouverte

#4 831 ouverte le 9 mai 2023

 (2 commentaires) (0 réaction) (0 personne assignée)TypeScript (2 542 forks)user submission
Help Wanted

Métriques du dépôt

Stars
 (26 187 étoiles)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

Summary

TypeError: Cannot read properties of undefined (reading 'getText')

Steps to reproduce

Mattermost Team Edition 7.8.3 with Boards 7.10.0 Desktop client 5.3.1 on Windows 10

  1. Open an existing card on a board
  2. Click in the field to add a comment
  3. Hit Shift+Enter twice
  4. Navigate up twice using the up-arrow key

Observed behavior (that appears unintentional)

The red "A JavaScript error has occurred" banner appears, but the UI continues to function normally. See attached log - both MatterPoll and Boards throw the error.

boards.log

Guide contributeur