comment draft lags when defocusing tab
Đang mở
bug
- Ngôn ngữ chính
- HTML
- Star
- 58
- Fork
- 0
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
- 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.
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.