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

Click on interactible field (e.g. Text field) causes "drag" event for the node to start #126

Open
DirkScharff opened this issue Dec 30, 2023 · 10 comments

Comments

@DirkScharff
Copy link

Hi, I just tried out the Blockly node and I like the concept. But I have the issue you can see in the gif. When I click on something where I would expect a div switching for an editable component the node instead starts dragging and I can not drop it anymore without closing the editor.

Node_Red_Blockly_Text_Box_Click

The Javascript console gives the following error:
image

NodeRed version is 3.1.3 and node-red-contrib-blockly at 2.4.0
Happens with Firefox and Chrome. Any Ideas?

@cymplecy
Copy link
Collaborator

I don't seem able to repeat the behaviour your seeing (Win11/Vivaldi)
blockly

@DirkScharff
Copy link
Author

I made the gif on Win10.

I just tried on my mac and it happens with chrome and safari there too. So i guess it must have to do something with my NodeRed instance or the Node. I am using NodeRed in docker.

@cymplecy
Copy link
Collaborator

computers!!!!! :(

@DirkScharff
Copy link
Author

I just tried with a completely fresh NodeRed Docker instance. => not working
I downgraded the fresh instance to NodeRed 3.0.0 => not working
I installed [email protected] => working
upgraded to 2.4.0 again and restarted nodeRed => not working
uninstalled 2.4.0, installed 2.2.0 => not working
installed 2.0.0 again => working
installed 2.1.0 => not working
installed 2.0.0 on NR3.1.3 (production setup) => working

So I guess I am stuck on 2.0.0 for now.

@cymplecy
Copy link
Collaborator

I'll see if I can install Docker on my Pi5 and see what happens

FYI The machine I tested out on is running 3.1.0/2.4.0

@DirkScharff
Copy link
Author

I guess its unrelated (at least I don't see a connection) but I am running NodeRed on an Unraid machine using the official NodeRed containers.

@cymplecy
Copy link
Collaborator

I get the same behaviour as you with the docker version (3.1.3/2.4.0) on my Pi5

@DirkScharff
Copy link
Author

Thanks for trying. At least it is reproducible then.

@cymplecy
Copy link
Collaborator

This is probably going to be a core Blockly issue as those block are standard Blockly - not special ones that Bart has added for NR

@cymplecy
Copy link
Collaborator

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