WordPress / gutenberg

The Block Editor project for WordPress and beyond. Plugin is available from the official repository.
https://wordpress.org/gutenberg/
Other
10.35k stars 4.13k forks source link

Footnotes: Safari scrolls to the top, rather than to the footnote, when creating one #54732

Open jasmussen opened 1 year ago

jasmussen commented 1 year ago

Steps to reproduce:

This is working correctly in Chrome.

GIF showing the above steps:

footnotes

jasmussen commented 1 year ago

I'm on Safari 16.6

Screenshot 2023-09-22 at 14 56 46

This is the test content I'm using:

<!-- wp:group {"style":{"spacing":{"blockGap":"0px"}},"layout":{"type":"default"}} -->
<div class="wp-block-group"><!-- wp:template-part {"slug":"header-copy","area":"header","theme":"twenty-twenty-four"} /-->

<!-- wp:group {"tagName":"main","lock":{"move":false,"remove":false}} -->
<main class="wp-block-group"><!-- wp:post-content {"lock":{"move":false,"remove":true},"layout":{"type":"constrained"}} /--></main>
<!-- /wp:group -->

<!-- wp:template-part {"slug":"footer-copy","area":"footer","theme":"twenty-twenty-four"} /--></div>
<!-- /wp:group -->

I'm editing a page in the site editor.