sp-dev-docs icon indicating copy to clipboard operation
sp-dev-docs copied to clipboard

data-interception off no longer working as per documentation

Open ervingayle opened this issue 6 years ago • 11 comments

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

ervingayle avatar Feb 07 '20 12:02 ervingayle

Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.

msft-github-bot avatar Feb 07 '20 12:02 msft-github-bot

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.

andrewconnell avatar Feb 19 '20 11:02 andrewconnell

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.

ervingayle avatar Feb 19 '20 13:02 ervingayle

Hello @andrewconnell ,

Do you have any update or idea on what could be causing this behavior?

ervingayle avatar Mar 08 '20 07:03 ervingayle

Nope... I ping'd MSFT to see if they had any insight... no update to share ATM.

andrewconnell avatar Mar 09 '20 15:03 andrewconnell

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...

andrewconnell avatar Mar 09 '20 15:03 andrewconnell

Any Update of this issue?

DanyLaco avatar Sep 10 '20 17:09 DanyLaco

Sorry for the delay - we are looking into this now.

patmill avatar Nov 18 '21 19:11 patmill

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.

KeviCheng avatar Dec 01 '21 18:12 KeviCheng

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

ghost avatar Dec 09 '21 00:12 ghost

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

ghost avatar Dec 16 '21 02:12 ghost