jd-opensource / jd-opensource/taro-ui

AtFloatLayout 添加 enableFlex 属性

Open
#1,031 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
4.7k
Forks
740
PR merge metrics
No merged PRs in 30d

Description

我们想实现类似于下面的功能.
![Screenshot_20200420_151914_com tencent mm](https://user-images.githubusercontent.com/5687399/80274789-7d059b00-870f-11ea-8b29-d6d8d1337488.jpg)
1.tab 的 title 的固定位置
2.tab 的内容可以滚动
3.取消按钮固定在最下面

现有的 AtFloatLayout 问题
1. title 处于 Text 里面,所以如果传入自定义的组件会有问题
2. children被一个 ScrollView 包裹住,如果自定义内容的时候没办法使该组件的高度根据内容自适应.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.