NativeScript / NativeScript/angular

TabView transparent under iOS 15

未关闭
#37 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

主要语言
TypeScript
星标
55
派生
13
平均合并
16 分钟
30 天内合并 PR
1

描述

Environment
Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project):

  • CLI: 8.1.1
  • Cross-platform modules: 8.1.3
  • Android Runtime:
  • iOS Runtime: 8.1.0
  • Plugin(s): -
  • NativeScript-Angular: ^12.2.0
  • Angular: ^12.2.0

Describe the bug

The TabView is transparent on first render and only gets initialised correctly after some clicking around.

To Reproduce

Setup:

ns create my-tab-ng --template @nativescript/template-tab-navigation-ng

Run:

tns run ios

Make sure you run a iOS 15 simulator with a small enough screen, e.g. iPhone SE 2.

Expected behavior

TabView covers ListView elements.

Sample project

@nativescript/template-tab-navigation-ng

Additional context

It seems to be an nativescript-angular problem since the @nativescript/template-tab-navigation is not affected.

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

首先使用 ns create my-tab-ng --template @nativescript/template-tab-navigation-ng 创建 @nativescript/template-tab-navigation-ng 示例,然后在屏幕较小的 iOS 15 模拟器(例如 iPhone SE 2)上运行 tns run ios。将其与 @nativescript/template-tab-navigation 进行比较,并验证 TabView 在首次渲染时会覆盖 ListView,无需到处点击。

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

评估

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

把新 issue 发到你的邮箱

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