saadeghi / daisyui

🌼 🌼 🌼 🌼 🌼  The most popular, free and open-source Tailwind CSS component library
https://daisyui.com
MIT License
33.95k stars 1.29k forks source link

bug: wrong chat bubble spacing in Safari when inside a column flex box #2410

Open tanguyMichardiere opened 1 year ago

tanguyMichardiere commented 1 year ago

1. Checklist

2. What version of daisyUI are you using?

v3.9.2

3. Which browsers are you seeing the problem on?

Safari, Safari iOS

4. Reproduction URL

https://play.tailwindcss.com/3qawI5PSrj

5. Describe your issue

For the reproduction I copied the "Chat with image, header and footer" example from the daisyUI docs and wrapped it in a div with flex and flex-col (also occurs with flex-col-reverse). On Safari and Safari for iOS there is a lot of additional spacing, and the two chat elements overlap as a result: image

After some testing, I didn't reproduce the bug with any of the other examples on the same docs page, except if I switch one of the chat-start with chat-end on "Chat with image". So it seems it occurs when there are both chat-start and chat-end bubbles, and chat-image.

saadeghi commented 12 months ago

This must be fixed already. Let me know if the issue still exists.

tanguyMichardiere commented 11 months ago

Unfortunately the problem is still here in version 4.4.4

binitkumarshirsath commented 8 months ago

Issue still exists.....

binitkumarshirsath commented 8 months ago

Better understanding of spaces betterunderstanding of spaces

This is how it looks running locally. localhost

Same code on deployment [Vercel] same on deployment

saadeghi commented 8 months ago

Can you share a reproduction repo?

binitkumarshirsath commented 8 months ago

Here is the link of project i am working on. This one is deployed , you can make a dummy acc and check the chat section.

https://github.com/binitkumarshirsath/talkhub

tanguyMichardiere commented 4 months ago

It appears the bug is fixed in Safari for iOS 18 Developer Beta 1

taropogi commented 4 months ago

I'm encountering same issue. . . during development and production.