Skip to content
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

[BUG] Drag and Drop doesn't work in v1.7.6 version #542

Open
williamlorder opened this issue Nov 13, 2024 · 4 comments
Open

[BUG] Drag and Drop doesn't work in v1.7.6 version #542

williamlorder opened this issue Nov 13, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@williamlorder
Copy link

Describe the bug

It seems that Drag and Drop no longer works in the new version. I have tried it in different themes, including the original theme, but it doesn't work.

Expected behavior
works again

Screenshots
If applicable, add screenshots to help explain your problem.
截屏2024-11-13 上午9 36 37

Environment (please complete the following information):

  • OS: Macos
  • Obsidian Version: v1.7.6
  • Plugin Version: 4.8.1

Additional context
Add any other context about the problem here.

@williamlorder williamlorder added the bug Something isn't working label Nov 13, 2024
@Juily918
Copy link

For me, it works on Window, but not on Mac.

@yongminparks
Copy link

same on Obsidian v1.7.7
plugin version 4.8.1

@jiajiala
Copy link

Yaml region
The problem is that once a file has a yaml area, it can't drag the nodes

@nihilmd
Copy link

nihilmd commented Nov 25, 2024

I'm experiencing the same issue on Obsidian v1.7.7 with Outliner 4.8.1 on Windows and Linux.

Debug Mode Console Error:
image

Uncaught TypeError: Cannot read properties of null (reading 'left')
    at DragAndDropState.calculateLeftPadding (plugin:obsidian-outliner:1371:56)
    at new DragAndDropState (plugin:obsidian-outliner:1287:14)
    at DragAndDrop.startDragging (plugin:obsidian-outliner:1181:23)
    at DragAndDrop.handleMouseMove (plugin:obsidian-outliner:1098:22)
calculateLeftPadding @ plugin:obsidian-outliner:1371
DragAndDropState @ plugin:obsidian-outliner:1287
startDragging @ plugin:obsidian-outliner:1181
DragAndDrop.handleMouseMove @ plugin:obsidian-outliner:1098

Observed behavior:

  • No YAML Frontmatter: Working as expected ✅
  • YAML Frontmatter & Source Mode: Working as expected ✅
  • YAML Frontmatter & Live-Preview Mode: Not working ❌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants