ionic-team / ionic-team/ionic-framework

bug: ios native refresher overlaps content when hiding

未关闭
#22,358 10 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
help wanted package: core type: bug
主要语言
TypeScript
星标
52.7k
派生
13.3k
平均合并
1 天 15 小时
30 天内合并 PR
51

描述

# Bug Report

It ***MAY*** be related to #21291, if so pls close. But the behaviour is different, so i'm opening it to be sure

**Ionic version:**

[ ] **4.x**
[x] **5.x**

**Current behavior:**

Please have a look into the attached video:
1. When the content (list in this case) changes/ is reassigned while refreshing the content kind of jumps to the top and back.
2. When the refresher is refreshing and i scroll up again, the spinner hides to late and don't hide behind the content. I think it is overlayed by the content in native ios (see at the end of the video)

**Expected behavior:**

1. to not happen^^
2. to hide the spinner behind the content when scrolling up

**Reproduction / Video:**

Video: [Uploaded here](https://gofile.io/d/N4Aca7)

Repo of the App seen in the video: https://github.com/EinfachHans/ion-refresher-bug2

**Other information:**

**Ionic info (of the test repo):**

```
Ionic CLI : 6.12.0 (/usr/local/lib/node_modules/@ionic/cli)
Ionic Framework : @ionic/angular 5.4.0
@angular-devkit/build-angular : 0.1000.8
@angular-devkit/schematics : 10.0.8
@angular/cli : 10.0.8
@ionic/angular-toolkit : 2.3.3

Cordova:

Cordova CLI : 10.0.0
Cordova Platforms : ios 6.1.1
Cordova Plugins : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 4.2.1, (and 4 other plugins)

Utility:

cordova-res : 0.15.1
native-run (update available: 1.2.2) : 1.0.0

System:

Android SDK Tools : 25.2.3 (/Users/hanskrywalsky/Library/Android/sdk)
ios-deploy : 1.10.0
ios-sim : 8.0.2
NodeJS : v12.18.3 (/usr/local/bin/node)
npm : 6.14.8
OS : macOS Catalina
Xcode : Xcode 12.0.1 Build version 12A7300
```

贡献指南

打开贡献指南

调研方向

Start with the linked reproduction repository and the uploaded video to reproduce the native iOS refresher behavior. Inspect the refresher implementation and its scrolling behavior for the two reported symptoms: content jumping during refresh and the spinner remaining over content. Done means both behaviors no longer occur.

由索引模型根据 Issue 内容生成。

评估

技术栈
angular, ios, typescript
领域
frontend, mobile-dev
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。