I want to be able to set a navigation link on a Team site to point to an anchor of a page. Something like this:

``` 
https://xxxxxx.sharepoint.com/sites/xxxxxx/SitePages/Page1.aspx#section4
```

When I set the address to that when editing the navigation link, it strips out the `#section4` part of the URL after saving. Is there a way around this?

On a Communication site, it does NOT strip out the anchor tag from the URL in the top navigation, and it works as it should.