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

NodeSpec.draggable=true prevents node selection on click #796

Open
1 task done
awdyson opened this issue May 7, 2018 · 1 comment
Open
1 task done

NodeSpec.draggable=true prevents node selection on click #796

awdyson opened this issue May 7, 2018 · 1 comment

Comments

@awdyson
Copy link

awdyson commented May 7, 2018

Issue details

Adding a node type with the draggable option set to true prevents that node from being selectable on click.

Steps to reproduce

  • add a node type with draggable=true
  • create a nodeView for said node
  • log something in an onSelect method
  • click on said node and watch nothing get logged

ProseMirror version

"prosemirror-commands": "^1.0.7",
"prosemirror-history": "^1.0.2",
"prosemirror-keymap": "^1.0.1",
"prosemirror-model": "^1.4.4",
"prosemirror-schema-basic": "^1.0.0",
"prosemirror-state": "^1.2.0",
"prosemirror-view": "^1.3.0",

Affected platforms

  • Chrome
@awdyson awdyson changed the title NodeSpec.draggable=true prevents node selection NodeSpec.draggable=true prevents node selection on click May 7, 2018
@marijnh
Copy link
Member

marijnh commented Mar 18, 2020

If this still exists, can you set up a demo that reproduces it? (Some issues, like the type and content of the node in question, aren't clear from the description.)

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