sitevision / envision

UI Library by Sitevision
https://envisionui.io/
MIT License
17 stars 17 forks source link

Contenteditable element, placeholder wont disappear on focus Safari #443

Closed sahinbosnic closed 5 months ago

sahinbosnic commented 5 months ago

There's a bug with the contenteditable element. The placeholder seems to disappear perfectly in all browsers but Safari on Focus. This requires us to add a custom handling for the placeholder on Safari

https://envisionui.io/components/form/

image

henrikekelof commented 5 months ago

There is a new version of the component coming out in Sitevision 2024.08.1 that will partially solve this issue. It uses the aria-placeholder attribute instead of an extra HTML. When released you should switch over to that.