![]() MSDN Support, feel free to contact tried you sample and it works as expected.Īlso, I used the Microsoft Community Toolkit Template to make my app. MSDN Support, feel free to contact made a simple demo for this but I could not reproduce the problem. If you have any compliments or complaints to This can be beneficial to other community members reading this thread. Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. You could try my code in a blank app to see if the problem exist.Ĭould you please share me your code snippet that how you show the NavigationView? It would help to the locate the problem. What's your OS version and target version? My target version is 17134 and I'm using Visual Studio 15.8.3 ![]() If you like this follow on twitter.I made a simple demo for this but I could not reproduce the problem. 1.1.0 now ignores links with download attribute (thanks Updated dependencies.1.2.0 now exposes its internal findAnchorTag method.(fumbled 2.x deploys, bumping major incase someone happened to install 2.x) 3.0.0 changing how second internal function is exposed.3.1.0 now ignores rel="external" closes #3.Technically same origin, but will be ignored because ofĪn external link it will not try to handle this Your app Some internal link will be handled Īn internal link that should open in new window But I like Preact and redux-bundler so here's an example for that setup: import ) => ( This works with any framework it's just inspecting DOM events. Because there's very little magic, it promotes understanding of how these things actually work.It's not tied to any framework, as long as you have some sort of function to call for setting a pathname you're good.It won't mess with normal browser behavior, so it will never consider a CTRL+click, right-click, or clicking a tag with a target="_blank" to be an internal navigation event.If for some reason your JS fails, it will navigate as usual because you're using real links in your app.It's puny at only ~250 bytes (before gzip)!. ![]() Like when you hover them it shows the actual URL, etc. This means, that everything that browsers do with a links, still works.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |