Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如果在屏幕上选择了其他内容,则拖动并不总是有效。特别是对于网页,在此示例中,如果选择了“拖动此框标题”的一部分,则该框不可拖动,因为浏览器尝试拖动所选文本。有什么办法可以避免这种情况吗?