Open allanmcarvalho opened 4 months ago
I'm facing the same issue. It seems that this problem is also present in Primevue 4. I checked if this problem is also in the Angular version of the Divider component, but that seems to work just fine in Safari. The code is mostly the same.
Same issue here with PrimeVue 4
same issue 4.1.0
Describe the bug
When using the Divider component in Safari without passing a Slot, a bug happens. The component below does not respect the divider padding because it is an empty DIV. I managed to get around this by putting a inside the Slot when I don't want the Divider to have text. After this, everything appears to be ok.
Reproducer
https://stackblitz.com/edit/primevue-3-vite-ts-issue-template-xus7rx?file=src%2FApp.vue
PrimeVue version
3.53.0
Vue version
4.x
Language
TypeScript
Build / Runtime
Vite
Browser(s)
Safari 17.5
Steps to reproduce the behavior
Put Divider without Slot content, add a bellow content and see te output on Safari.
Expected behavior
The bellow content don't respect Divider height and stay together with it's line.