data-interception off no longer working as per documentation
Category
- [x] Question
- [ ] Typo
- [ ] Additional article idea
Question
I have been using data-inception off for links in my application customizer that renders application specific navigation in the top placeholder within a Communications site. This has been working for some time but it looks like this has stopped working in the last 30 days.
Referencing the documentation here specifically: https://docs.microsoft.com/en-us/sharepoint/dev/spfx/hyperlinking
Environment details (if applicable)
Modern Communications site Application customer that renders to top placeholder Links with data-inception="off" work on the home page, viewlsts.aspx page but if you click into a document library or list they links with data-inception="off" do not work and the page refreshes.
Tested in all browsers: Chrome Firefox Edge Edge dev version
Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.
Can you provide additional context such as the SPFx version you are using? That was in the original issue template that apparently was removed when you submitted this issue.
Hello @andrewconnell ,
I have two solutions that are installed, both Application Customizers running SPFx version 1.8.2. However, this functionality was working, I would say up to late December.
Hello @andrewconnell ,
Do you have any update or idea on what could be causing this behavior?
Nope... I ping'd MSFT to see if they had any insight... no update to share ATM.
It appears to work, but is has broken on list & library app pages (which is where you're using it). I made engineering aware of it...
Any Update of this issue?
Sorry for the delay - we are looking into this now.
So it appears you may have a typo in your original post. With data-interception="off" the page is supposed to refresh on navigation, and navigation via page router happens only when you do not specify data-interception="off" AND you start from a SPFx page. I have investigated this, and it seems that the feature is working as expected.
This issue has been automatically marked as stale because it has marked as requiring author feedback but has not had any activity for 7 days. It will be closed if no further activity occurs within the next 7 days of this comment. Please see our wiki for more information: Issue List Labels: Needs Author Feedback & Issue List: No response from the original issue author
Closing issue due to no response from the original author. Please refer to our wiki for more details, including how to remediate this action if you feel this was done prematurely or in error: No response from the original issue author