diffplug / diffplug/gitcasso

comment draft lags when defocusing tab

オープン
#72 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
bug
主要言語
HTML
スター
58
フォーク
0
PR マージ指標
30日以内にマージされた PR はありません

説明

- open a comment
- type some stuff into it
- click the gitcasso popup
- BUG: the draft is not there
- close the popup and open it again
- now the draft is there.

The sequence of events is:

- open popup
- popup sends `GET_OPEN_SPOTS` to background
- background replies with `GetTableRowsResponse`
- because popup has focus, the tab lost focus
- tab notices and sends `LOST_FOCUS` event with updated draft
- but the rows were already sent

Workaround: if you defocus the text area manually by clicking somewhere else in the tab, and then click the popup, then the popup is up-to-date right away.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。