tiny-engine icon indicating copy to clipboard operation
tiny-engine copied to clipboard

🐛 [Bug]: 禁用无法选择

Open ArtisanQ opened this issue 1 year ago • 6 comments

Environment

windwos11

Version

16

Version

最新

Link to minimal reproduction

1705308260477 输入框禁用选上,切换其它组件,再点就无法选中了

Step to reproduce

1

What is expected

No response

What is actually happening

No response

Any additional comments (optional)

No response

ArtisanQ avatar Jan 15 '24 08:01 ArtisanQ

Bot detected the issue body's language is not English, translate it automatically.


Title: 🐛 [Bug]: Disabled cannot be selected

Issues-translate-bot avatar Jan 15 '24 08:01 Issues-translate-bot

@ArtisanQ 感谢反馈,已经记录该问题,会尽快安排解决

hexqi avatar Jan 16 '24 01:01 hexqi

Bot detected the issue body's language is not English, translate it automatically.


@ArtisanQ Thanks for the feedback. The problem has been recorded and will be resolved as soon as possible.

Issues-translate-bot avatar Jan 16 '24 01:01 Issues-translate-bot

可以先通过大纲树来访问禁用的输入框

hexqi avatar Jan 16 '24 01:01 hexqi

Bot detected the issue body's language is not English, translate it automatically.


Disabled input boxes can be accessed through the outline tree first

Issues-translate-bot avatar Jan 16 '24 01:01 Issues-translate-bot

image 尝试了一下解决这个问题,发现是`input`、`button`等标签有`disabled`属性之后会阻止这个鼠标点击事件的触发。我想到的解决方案是直接在拖拽之后直接在dom里面删除`disabled`属性,但是这个解决方案又可能带来别的问题。想要彻底解决感觉这里改动有点大。看看有没有大佬有更好的解决方案。

jxhhdx avatar May 10 '24 07:05 jxhhdx