GetStream/stream-chat-react

bug: Message Notification display wrong place when edit

minhth1529 opened this issue · 1 comments

Describe the bug

Press key Enter before attachment finish uploading. Notification display wrong place.

To Reproduce

Steps to reproduce the behavior:

  1. Add attachment
  2. When file uploading press Enter key aim to show warning notification

Expected behavior

Notification have to show in Edit Input

Screenshots

Screen.Recording.2023-11-07.at.11.38.49.AM.mov

Screenshot 2023-11-07 at 11 33 26 AM

If applicable, add screenshots to help explain your problem.

Package version

  • stream-chat-react: 10.16.2
  • stream-chat-css: 3.14.1

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context

Add any other context about the problem here.

@minhth-1529 thank you for the report. We plan to do overhaul for notifications system as it does not make much sense to show them only for that single message input. This is a breaking change that will not be released in short term. Looks like this specific case can be solved with z-index.

image