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

贡献者指南