arco-design / arco-design-mobile

React mobile UI components library based on Arco Design
https://arco.design/mobile/react/arco-design/pc/#/
MIT License
397 stars 76 forks source link

Popup 组件有mountOnEnter和unmountOnExit两个参数,但这两个参数无法单独使用,是否考虑合并为一个 forceRender 呢? #74

Closed xiguaxigua closed 1 year ago

xiguaxigua commented 1 year ago

Basic Info

What are the similar cases of this feature

https://mobile.ant.design/zh/components/popup

What problem does this feature solve?

当前提供了两个属性,但是单纯使用一个并不灵,容易引起误解,不如直接把两个属性合并为一个

TinaPeach commented 1 year ago

mountOnEnter和unmountOnExit是继承自react-transition-group的属性,Popup只做透传不做封装哈