mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-03-21 03:30:42 +00:00
fix(frontend): add comment
Co-Authored-By: anatawa12 <anatawa12@icloud.com>
This commit is contained in:
@@ -109,6 +109,7 @@ function onDragstart(ev: DragEvent, item: T) {
|
|||||||
|
|
||||||
// Chromeのバグで、Dragstartハンドラ内ですぐにDOMを変更する(=リアクティブなプロパティを変更する)とDragが終了してしまう
|
// Chromeのバグで、Dragstartハンドラ内ですぐにDOMを変更する(=リアクティブなプロパティを変更する)とDragが終了してしまう
|
||||||
// SEE: https://stackoverflow.com/questions/19639969/html5-dragend-event-firing-immediately
|
// SEE: https://stackoverflow.com/questions/19639969/html5-dragend-event-firing-immediately
|
||||||
|
// SEE: https://issues.chromium.org/issues/41150279
|
||||||
window.setTimeout(() => {
|
window.setTimeout(() => {
|
||||||
dragging.value = true;
|
dragging.value = true;
|
||||||
}, 10);
|
}, 10);
|
||||||
|
|||||||
Reference in New Issue
Block a user