ionic-team / ionic-team/ionic-framework
bug: Ionic React restores scroll position when navigating forward from /foo/0 to /foo/1
Open
package: react
type: bug
- Dominant language
- TypeScript
- Stars
- 52.7k
- Forks
- 13.3k
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 51
Description
# Bug Report
**Ionic version:**
[x] 5.x
**Current behavior:**
when the user wants to go to another news on a news detail page, he reaches the news that he clicked on the news link, but because the user's location is at the bottom of the page, he has to go up when he wants to see the news
**Expected behavior:**
I think it should go up automatically every time a link is clicked in the backhend
**Steps to reproduce:**
**Related code:**
<>
{
newsdetails.length===0? this.getNews} message={"Haber yükleniyor"} duration={5000}/> :
{newsdetails.map(newdetail =>
{newdetail.__comment_count} Yorumla
Paylaş
{newdetail.title}
{newdetail.short_content}
{newdetail.date}
)}
}
{
categorys.length===0 ? :
AYNI KATAGORİDEN HABERLER
-
{category.title}
{categorys.map(category =>
)}
}
Contributor guide
Assessment
This issue has not been assessed yet.