Fragment is not working
See original GitHub issueDEMO : https://plnkr.co/edit/xAGjXqpmkLbCokvCt9qQ?p=preview
AppComponent.ts
<a routerLink="frag" fragment="anchor"> Fragment Component </a> //<<<===fragment="anchor"
<router-outlet></router-outlet>
FragmentComponent.ts
@Component({
template: `
<div>
<h2>Fragment Component</h2>
<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
<div id="anchor">should scroll automatically till here</div> //<<<===I believe it should scroll automatically till here. But its not working.
</div>
`,
})
Issue Analytics
- State:
- Created 7 years ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
Android fragment is not working - Stack Overflow
In my Activity I'm not doing anything special, I've tried using regular Activity as well as FragmentActivity and I've gotten the same problem....
Read more >7 Common Mistakes Easily Made with Android Fragment
Mistake makes when working in Fragment sometimes are hard to debug, as it is not always replicable due to its complicated lifecycle event....
Read more >Fragment | Android Developers
onStop() fragment is no longer visible to the user either because its activity is ... The details fragment showing the contents of a...
Read more >Creating and Using Fragments | CodePath Android Cliffnotes
Hiding and showing relevant fragments using the fragment manager. Receiving data from intents and passing data between fragments.
Read more >Shorthand Fragment is not working if React is not in the scope ...
Shorthand Fragment is not working if React is not imported. You have to include React or import Fragment and use it.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@DzmitryShylovich Could you please help to resolve it? which configuration you are talking about?
if it is a bug, I’ll recreate it again. But I need confirmation first.
I would say it’s miss configuration.