简体   繁体   English

HTML5拖放在Chrome 32中不起作用

[英]HTML5 Drag and drop not working in chrome 32

If I drag and drop a file in latest chrome stable (v32) webkitGetAsEntry returns null. 如果我将文件拖放到最新的Chrome稳定版(v32)中,则webkitGetAsEntry返回null。 ie the entry will be null in the following code: 即,在以下代码中,该条目将为null:

var entry = item.webkitGetAsEntry();

However if I click and select files they come through just fine. 但是,如果我单击并选择文件,它们就很好了。

Q: where can I get documentation for webkitGetAsEntry 问:我在哪里可以获得webkitGetAsEntry文档

Apparently I was on the beta channel for chrome. 显然我是在Chrome的Beta版频道上。 Uninstalling and reinstalling chrome brought me back to the stable channel (v31 at the moment) which does not have this bug. 卸载并重新安装chrome后,我回到了没有此错误的稳定频道(目前为v31)。

What? 什么? That trouble was in the DEV channel on november 14, and now it is on the STABLE channel? 麻烦出在11月14日的DEV通道上,现在是在STABLE通道上?

All our drag-drop are now unusable using the plupload html5 upload module... 现在,使用plupload html5上传模块无法使用所有拖放功能...

(edit) Chrome team is working on it... https://code.google.com/p/chromium/issues/detail?id=332579 (编辑)Chrome团队正在努力... https://code.google.com/p/chromium/issues/detail?id=332579

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM