Commit 4baf8ae
authored
[CLNP-8097]Fixed a bug where the input field disappeared when a new message arrived while composing a quote message (#1398)
Fixes [CLNP-8097](https://sendbird.atlassian.net/browse/CLNP-8097)
The issue occurs because actions.setCurrentChannel(), which is called
when a message is received or a typing start event is triggered, resets
quoteMessage to null, causing the input field to disappear.
### Changelogs
- Fixed a bug where the input field disappeared when a new message
arrived while composing a quote message
### Checklist
Put an `x` in the boxes that apply. You can also fill these out after
creating the PR. If unsure, ask the members.
This is a reminder of what we look for before merging your code.
- [x] **All tests pass locally with my changes**
- [ ] **I have added tests that prove my fix is effective or that my
feature works**
- [ ] **Public components / utils / props are appropriately exported**
- [ ] I have added necessary documentation (if appropriate)
[CLNP-8097]:
https://sendbird.atlassian.net/browse/CLNP-8097?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ1 parent 016ff34 commit 4baf8ae
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
181 | 181 | | |
182 | 182 | | |
183 | 183 | | |
184 | | - | |
| 184 | + | |
185 | 185 | | |
186 | 186 | | |
187 | 187 | | |
| |||
0 commit comments