Search Results Bug - Mobile

안녕하세요. 최근 Contribute > Bug 채널에서 발견한 버그 하나를 공유하고 싶습니다. 이미 알려진 문제일 수도 있지만 포럼에서 관련 정보를 찾지 못했습니다.

검색창을 사용하면 평소와 같이 검색 결과가 표시됩니다. 하지만 손가락으로 화면을 넘기면 아래 영상에 보이는 것처럼 빈 영역이 나타납니다. 몇 번 테스트해 본 결과, 검색어가 길수록 빈 영역이 더 넓어지는 것 같습니다.

모든 사이트에서 항상 재현되지는 않습니다.

이 문제는 브라우저(Safari)와 DiscourseHub 앱에서 모두 발생합니다.

Hi @lucaviness

As a quick fix, you might consider trying this in your mobile CSS:

.fps-topic > .blurb{
  overflow:auto;
}

I could reproduce this on our forum (since we have a lot of “long lines of single string code”) and installed the CSS (see below), and it did the trick:

I am going to install this on our forums as well.

Good catch!

Hope this helps you.


Update: The CSS above has an unintended consequence on the composer textarea element and so this selector should not be used.

Thank you! I’m not an admin so I don’t believe I’ll be able to do that. I’ll try passing it along to the them though.

Hi @lucaviness - thanks for reporting. We made a fix for this a few days ago

https://github.com/discourse/discourse/commit/e3bc8f34ed8bfcb3104baf9ddb0726253fada07d

We’ll get the fix deployed to infiniteflight very soon

4개의 좋아요