chatscope / chat-ui-kit-react

Build your own chat UI with React components in few minutes. Chat UI Kit from chatscope is an open source UI toolkit for developing web chat applications.
https://chatscope.io
MIT License
1.34k stars 116 forks source link

IOS 16 version issue of clicking button as Message.CustomContent #140

Open iRaM-sAgOr opened 10 months ago

iRaM-sAgOr commented 10 months ago

With this library, if i want to use a clickable button under the , IOS version >=16, During initial rendering this click button is not working. But from second click , it is working fine. But Below IOS 16, this click button is properly working. Is there any reason? of how can i use a button below evey message properly

supersnager commented 10 months ago

@iRaM-sAgOr This is strange behavior, I need to investigate it. Please share the repro code.

iRaM-sAgOr commented 10 months ago

image_2024_01_18T09_04_07_607Z image_2024_01_18T09_03_06_953Z I am sharing the demo code snippet and UI for clarification. This "click me" button is not give any event after first time rendering with IOS version>=16. Up to IOS 15, first click is working

supersnager commented 9 months ago

@iRaM-sAgOr I tested this using BrowserStack on iPhone13 IOS 16 in Safari and Chrome. The first click is working. Maybe the problem lies elsewhere ?handleClickEnter? Please provide the full reproduction code, not as a screenshot, but as working code that you can check. What framework are you using, next, cra, vite?