alibaba / rax

🐰 Rax is a progressive framework for building universal application. https://rax.js.org
Other
7.99k stars 625 forks source link

[Question]Dialog在微信小程序真机下会闪烁,之前不会。模拟器正常。 #2239

Closed waylon-gmail closed 3 years ago

waylon-gmail commented 3 years ago

https://user-images.githubusercontent.com/51048705/133614430-5ae492b7-1bba-48a5-a009-6fe13c3cff1d.mp4

<Dialog
        className="sku-select-dialog"
        visible={skuSelectVisibleState}
        footer={false}
        closeMode={['mask']}
        onClose={() => setSkuSelectVisibleState(false)}
        content={
          <SkuSelectComponent
          />
        }
      />
ChrisCindy commented 3 years ago

@alifd/meet 已知问题。本周发版修复。

waylon-gmail commented 3 years ago

好的,感谢。android的机器试了一台是正常的。这台有问题的是 iphonexs max

waylon-gmail commented 3 years ago

https://user-images.githubusercontent.com/51048705/133616820-1b80e662-22f0-4e2d-846f-fb598e743db7.mp4

bottom 边距; 这个好像没生效。模拟器是正常的,真机不正常。之前真机也是正常的。

  .goods-list-wrapper {
    width: 100%;
    flex: 1;
    margin-top: 35px;
    margin-bottom: 50px;
    padding-bottom: env(safe-area-inset-bottom);
  }

调试了一下是margin-bottom不生效

换一种布局,可以解决问题。

waylon-gmail commented 3 years ago

请问 dialog 闪烁问题,在哪个版本的库修复了?

ChrisCindy commented 3 years ago

@waylon-gmail @alifd/meet 最新版本看下