Skip to content

Cannot set properties of null (setting '__draggable_context') #145

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 19 commits into
base: master
Choose a base branch
from
Open
Prev Previous commit
Next Next commit
fabu
  • Loading branch information
zhyswan committed May 5, 2022
commit 00e5c791dcae5c6432cb434118fbc2f6c8efe432
2 changes: 1 addition & 1 deletion src/core/componentStructure.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const getHtmlElementFromNode = node => {
const el =
node.el || (Array.isArray(node.children) && node.children[0].el.parentNode);
if (!el) {
if (!el) {
console.error(
"使用 transition-group , 需要在slot中template内至少2层html标签"
);
Expand Down