ant-design / ant-design-mobile

Essential UI blocks for building mobile web apps.
https://mobile.ant.design
MIT License
11.51k stars 2.38k forks source link

Update text-area.less #6509

Closed Jarryxin closed 6 months ago

Jarryxin commented 6 months ago

删除 readonly pointer-events:none属性,解决 readonly状态下,超出不可滚动问题

fix #6508

Jarryxin commented 6 months ago

fix #6508

zombieJ commented 6 months ago

话说 这个 pointer event 本来是用来干啥的,看起来 readOnly 也不需要禁用操作,是不是和 allowClear 有关系?

Jarryxin commented 6 months ago

话说 这个 pointer event 本来是用来干啥的,看起来 readOnly 也不需要禁用操作,是不是和 allowClear 有关系?

TextArea 没有 allowClear 属性, readOnly 状态时,不需要修改 pointer-event

github-actions[bot] commented 6 months ago

PR preview has been successfully built and deployed to https://antd-mobile-preview-pr-6509.surge.sh

codecov[bot] commented 6 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (55b6cd4) 92.27% compared to head (20df529) 92.27%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #6509 +/- ## ======================================= Coverage 92.27% 92.27% ======================================= Files 316 316 Lines 6897 6897 Branches 1728 1728 ======================================= Hits 6364 6364 Misses 497 497 Partials 36 36 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.