If a mobile menu closes but the page does not move to the intended section, the problem is usually in the link destination or the menu's click handling. Adding another smooth-scroll library can make the conflict harder to isolate.
Check the link and target
A same-page link such as #size-guide needs one matching id="size-guide" in the document. Check spelling and duplicate IDs. A link to a section on another page needs that page's path as well as the fragment, for example /pages/about#our-story.
Try the destination as a normal link outside the drawer. If it works there, focus on the menu behavior rather than the section markup.
Review the drawer behavior
Check for handlers that call preventDefault() on every menu link. A drawer close handler should not cancel normal navigation unless it deliberately completes the intended action itself.
Also check for an overlay that remains on top of the page after the drawer closes. That can make a working anchor look broken because scrolling and clicks remain blocked.
Account for the header
A sticky header can cover the destination heading. Apply a scoped offset to the target section:
.anchor-section {
scroll-margin-top: 6rem;
}Use native anchor behavior as the reliable baseline. If you add smooth scrolling, respect reduced motion preferences and check browser Back behavior.
Test on the page containing the target and from another page, at several screen sizes. Confirm that closing the menu restores scrolling and that keyboard users can still reach the destination.
References
Put this into practice.
Minion diagnoses Shopify navigation issues within the current theme rather than layering unrelated scripts over the problem.