jd-opensource / jd-opensource/taro-ui

AtFloatLayout 最大高度放开

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

Description

**这个功能解决了什么问题?**

商品列表中点击商品item,商品详情页面以floatlayout的形式弹出。

**你期望的功能是怎样的?**

目前的允许的最大高度太小,实际显示效果不好,希望可以将AtFloatLayout的最大高度放入可修改的自定义样式中。

**补充信息**
在自定义样式中
/* FloatLayout */
$float-layout-height-min: 600px !default;
$float-layout-height-max: 950px !default;
![微信截图_20200727220531](https://user-images.githubusercontent.com/38975117/88552160-56306b00-d056-11ea-8c14-8399f268bf6c.png)
已经对最外层的容器最大高度允许自定义

但是
![微信截图_20200727221056](https://user-images.githubusercontent.com/38975117/88552338-90017180-d056-11ea-8aed-d0c239b0ac1b.png)
![微信截图_20200727220453](https://user-images.githubusercontent.com/38975117/88552359-955ebc00-d056-11ea-847a-e9ba8e8a8067.png)
子元素还设置了最大高度限制

不太明白目前允许自定义外层父组件最大最小高度的意义,希望有人能解答一下我的问题。

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.