chat-ui-kit-react icon indicating copy to clipboard operation
chat-ui-kit-react copied to clipboard

IOS 16 version issue of clicking button as Message.CustomContent

Open iRaM-sAgOr opened this issue 5 months ago • 3 comments

With this library, if i want to use a clickable button under the <Message.CustomContent/>, 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

iRaM-sAgOr avatar Jan 17 '24 09:01 iRaM-sAgOr

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

supersnager avatar Jan 17 '24 10:01 supersnager

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

iRaM-sAgOr avatar Jan 18 '24 09:01 iRaM-sAgOr

@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?

supersnager avatar Mar 05 '24 07:03 supersnager