According to caniuse.com, the scroll-padding-top property is supported in the latest version of Safari, but it just is not working for me at all. I setup a reduced example Code Pen here to confirm it is not anything else messing with it, even with just CSS and HTML it does not seem to work. This is the CSS:
html {
scroll-behavior: smooth;
scroll-padding-top: 152px;
}
I can confirm my version of Safari is 13.0.1 and support for this property was implemented in 11.0 according to caniuse.com.
It works as expected in both Firefox and Chrome.
Is there anything I am missing that needs to be included so this works in Safari? I want to avoid using jquery and javascript if possible, but I am open to implementing a solution using them if that is the only way.