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 & Drop in Numbered List doesn't work as expected #429

Open
bakikucukcakiroglu opened this issue Jul 29, 2024 · 2 comments
Open

Comments

@bakikucukcakiroglu
Copy link

bakikucukcakiroglu commented Jul 29, 2024

Provide environment information

System:

  • OS: macOS 14.5
  • CPU: (11) arm64 Apple M3 Pro
  • Memory: 240.17 MB / 18.00 GB
  • Shell: 5.9 - /bin/zsh

Binaries:

  • Node: 20.15.1 - ~/.nvm/versions/node/v20.15.1/bin/node
  • Yarn: 1.22.22 - /opt/homebrew/bin/yarn
  • npm: 10.7.0 - ~/.nvm/versions/node/v20.15.1/bin/npm
  • pnpm: 9.6.0 - ~/.nvm/versions/node/v20.15.1/bin/pnpm

Describe the bug

I started to use novel copying web template and integrating it into my project. However, drag and drop functionality in numbered list is not working well. (See the video below) To be sure I also directly run web template but the behavior was also broken. Actually the editor in novel.sh works pretty well. I don't see what is going wrong.

trimmed_red.mov

Link to reproduction

https://github.com/steven-tey/novel/tree/ai-features/apps/web

To reproduce

Clone and run web template. Delete everything in the editor. Add 5-10 numbered list items. Then start drag & drop between list items.

Additional information

@bakikucukcakiroglu
Copy link
Author

bakikucukcakiroglu commented Jul 29, 2024

I will add the clues here:

  • When I open the editor in a new tab d&d works at the beginning but after it fails, it almost always fail.
  • It usually fail if I try to drop the item somewhere close to edges of item list. Also notice that also the style(bold part at the beginning) disappears.
  • Styling(the bold part in the beginning of the list items) disappears when it fails.
  • I tried d&d with bullet list and it works perfectly.

@aliscie
Copy link

aliscie commented Jul 31, 2024

is this solved now?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants