When linking to a section, like [[foo#bar|bar]], the text displayed in the hovercard is still the text from the top of the article. I think it would make more sense for the text to be from the linked section.
Topic on Talk:Page Previews/Flow
This has been discussed in Topic:T5pamtg3snthjcrl.