-
Notifications
You must be signed in to change notification settings - Fork 1k
When navigating from one folder to another, the navigatedEvent doesn't fire. #4557
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible. |
Please provide all the helpful context... SharePoint environment+version, SPFx version, browsers tested, etc. Also, what's the first issue in reference to in the post? Unclear... |
@andrewconnell the first issue was added by mistake. |
If helps, I also found the same issue. I had to modify an injected header by an app customizer extension that is used when browsing through the folders of a list. I managed to troubleshoot the issue using the mutationObserver and the builtin list breadcrumb |
@holylander can you please provide some more details how you used the builtin list breadcrumb for troubleshooting? |
@andrewconnell any update on this issue? |
The navigation event has been tricky for many people. I haven't had time to work through your specific scenario. However, are some links to some popular posts that address the issue. They may help... can you take a look and see if they do?
|
@andrewconnell Thanks for the feedback. I will look into the references and check if it solves the issue or not. |
hi @andrewconnell , I tried the URL mentioned above but none of the solution solve my issue. |
Can you provide a working sample (link to public GH repo) to help repro the issue? |
Hi @andrewconnell , Here the link to the working sample. kindly let me know if you require more information from my end. |
Hi @andrewconnell , Did you get a chance to look into above? |
Hi @andrewconnell, Is there any update on this? |
Hello @andrewconnell. Do you know is there is any update regarding this issue in last SPFx 1.10 version? |
Hi there, as far as I know, there is no way to track the discussed navigation event. The only effective solution is to track down the url changes during conditional page load ( no full page load ) following the guide from microsoft. On the other hand, I have created this small spfx extension that tracks the url changes on conditional page load or sharepoint page transition, which uses the previous approach and exposes such info as a dynamic data source, maybe it could be helpful for someone else. |
(sorry - lost track of this issue with some metadata shuffle) Right - at the moment, drilling into a folder isn't handled by the navigated event. We are tracking longer term updates to customizers here - #7406 . I've added this. |
Issues that have been closed & had no follow-up activity for at least 7 days are automatically locked. Please refer to our wiki for more details, including how to remediate this action if you feel this was done prematurely or in error: Issue List: Our approach to locked issues |
Uh oh!
There was an error while loading. Please reload this page.
Category
Expected or Desired Behavior
When we navigate between the folders in document library then it should fire the navigatedEvent.
Observed Behavior
I have some logic based on which folder User is in. But it fails as when I navigates between the folder the navigatedEvent is not firing.
Steps to Reproduce
Go to Root Folder add some console and then navigate to any sub folder and write the querystring in console so you can check whether the event fired or not.
Here is the code snippet.
I already checked #1254 which states the issue if fixed but I am still facing this issue.
The text was updated successfully, but these errors were encountered: