mattermost-community/focalboard

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

開放

#4,831 建立於 2023年5月9日

 (2 則留言) (0 個反應) (0 位負責人)TypeScript (2,542 個分叉)user submission
Help Wanted

倉庫指標

星標
 (26,187 顆星)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

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

貢獻者指南