שדות קלט מודאליים גורמים לדף לקפוץ למעלה בנושא

Hello :waving_hand:

This is a long-standing issue that occurs in the topic when you try to type something into a modal input field. It always jumps to the top of the page, which results in an infinite load until it reaches post 1. It’s still an issue with the Glimmer Post Stream.

It makes very difficult to move posts to another topic because the modal also jumps while loading, other write related process and it also causes problems with the new discourse reaction feature, which opens the emoji picker. When it opens, it automatically focuses on the emoji search input, which produces the same behavior. It jumps to the top of the page and closes the emoji picker… So it happens when the modal input field focused.

This issue seems only happens on iOS.

5 לייקים

בעיה מוזרה, אני מנחש שאנחנו מעבירים אירועים שאנחנו לא אמורים.

אולי ל-@saquetim יש רעיונות בנושא?

לייק 1

באיזו גרסת iOS אתה משתמש @don? ראיתי את הבעיה הזו מספר פעמים, אבל לאחרונה אני לא מצליח לשחזר אותה.

2 לייקים

אני כרגע ב-iOS 18.6.1 אבל חוויתי זאת גם בגרסאות קודמות.

לייק 1

Hello :wave:

I think I’ve found what causes this issue.

I’ve disabled the scroll to top here with a simple theme component for testing and it seems works fine now but I’m not sure what’s the reason for this code, so disabling or removing it is probably not the best solution.

Demo: Theme Creator

4 לייקים

אני תוהה אם זה לא מנע באג ב-iOS שכבר תוקן?

2 לייקים

That code was only added Oct 2024.

So at least it’s not the cause of the reason I’m following this thread, as my bug was first reported in 2020.

לייק 1

אני עדיין נתקל בבאג הזה, למעשה הדברים קופצים לכל עבר בספארי במובייל, אני מוצא שזו חווית משתמש גרועה מאוד במובייל.

אני גם נתקל בבאג מעצבן בעת גלילה למעלה בנושא כדי לקרוא פוסטים ישנים יותר, כאשר הם נטענים זה קופץ ואני מדלג על פוסטים.

אני מקווה שניתן לתקן זאת.

Here is a video of me scrolling from the bottom to the top of a topic on here.

The video is compressed but the flickering like mad is how it looks when you scroll! And as you can see on some of the page loads it jumps all over the place

This is with the latest iOS 26

Am I alone in experiencing this?

(I know this is slightly off topic but it’s all part of the terrible UX I’ve been getting lately on mobile safari)

אני לא רואה את זה.

אבל אני על iOS 18 באייפון 16 פרו.

No, you aren’t alone. I think it’s this:

So, 26.1 should help.

אני לא בטוח שזו בעיה בלעדית של iOS 26, כי זה לא היה משהו טוב כבר זמן מה.

אני על אייפון 16 פרו. היו לי הרבה בעיות כאלה. המצב הורע עכשיו עם בעיות iOS 26.

אני פשוט רואה דברים שמחמירים לאחרונה, לא משתפרים.

You might be right. My iPhone is on 26 and it hasn’t any described symptomps. But I’ve never seen such symptomps on my iPhone & iPad with any OS either.

So, I would blame device here, unless there is some more specific details that differs between yous and mine systems :thinking:

לייק 1

מה יכול להיות במכשיר שלי שגורם לזה בכל זאת?!