Currently, when manually creating a bookmark or generating from a table of contents, the anchor that is used as a target is created at the end of the paragraph or selected text.
It's bad. If the target paragraph or selected text spans more than one line, when you click on such a bookmark in the pdf document, only the last line of text at the top of the pdf document will be visible, and the entire paragraph or text should be visible.
Indesign creates the anchor at the beginning in the bookmarks to avoid this error and Affinity Publisher should too.