在释放到达之前,onDragStop 会被丢弃(占位符仍保留在网格中),因为阀值跨越动作尚未渲染

作者: NichlasBrownie创建于 2026年9月14日更新于 2026年9月14日

Your Example Website or App: Private app - a self-contained test is below. Steps to Reproduce the Bug or Issue: Vitest + jsdom + @testing-library/react 16, React 19.2.8, react-grid-layout 2.2.4:

内容来源: react-grid-layout/react-grid-layout