ionic-team / ionic-team/ionic-framework

bug: Ionic React restores scroll position when navigating forward from /foo/0 to /foo/1

オープン
#20,816 コメント 16 件 リアクション 1 件 担当者 0 名 GitHub で見る
package: react type: bug
主要言語
TypeScript
スター
52.7k
フォーク
13.3k
平均マージ
1日 15時間
マージ済み PR(30日)
51

説明

# 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.id}


{newdetail.__comment_count} Yorumla
Paylaş

{newdetail.title}


{newdetail.short_content}


{newdetail.date}




)}

}
{
categorys.length===0 ? :



AYNI KATAGORİDEN HABERLER



    {categorys.map(category =>



  • {category.id}

    {category.title}


  • )}


}

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。