# Editing \`function\` nodes. Weird happening with cursor

**URL:** https://discourse.nodered.org/t/editing-function-nodes-weird-happening-with-cursor/20593
**Category:** General
**Created:** [19 January 2020 19:53 UTC](https://discourse.nodered.org/t/editing-function-nodes-weird-happening-with-cursor/20593 "2020-01-19T19:53:42Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)
#### Post date: [19 January 2020 19:53 UTC](https://discourse.nodered.org/t/editing-function-nodes-weird-happening-with-cursor/20593/1 "2020-01-19T19:53:42Z")

</div>

I am _editing_ a `function` node.

I double click on it and I see this:

![Screenshot from 2020-01-20 06-49-05](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/6/f/6fb6d464b54e62c65656f3b0c50d319acc0db61a.png)

Note how the `function` part has a grey line and the cursor is there.  
Though you can't see it: it is blinking.

Yet, when I start to type, the stuff I type goes into the `Name` field.

Slightly confusing to why.

Has anyone else seen this happen?

I have noticed it a lot because I open the edit screen and click on the `Name` field sometimes and before I start typing something happens because when I start typing: nothing happens.

I have to (again) click in the `Name` field.

---

<div class="post-metadata">

### Author: ![cymplecy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cymplecy/32/2773_2.png) [@cymplecy](https://discourse.nodered.org/u/cymplecy)
#### Post date: [19 January 2020 20:20 UTC](https://discourse.nodered.org/t/editing-function-nodes-weird-happening-with-cursor/20593/2 "2020-01-19T20:20:30Z")

</div>

Doesn't happen on my browser (Chromium on RaspberryPi)  
I have no flashing cursor anywhere

If I type something - it doesn't appear anywhere

I have to explicitly select where I want to type and then I get the flashing cursor

---

<div class="post-metadata">

### Author: ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)
#### Post date: [19 January 2020 20:22 UTC](https://discourse.nodered.org/t/editing-function-nodes-weird-happening-with-cursor/20593/3 "2020-01-19T20:22:21Z")

</div>

That too is happening.

I brushed over it.

I open a node to edit it's name and click in the `name` field.  
I start to type and ...... nothing.

I have to again click in the `name` filed before it will allow me to type.  
(Typically: It is behaving itself now when I just tried a few.)

---

<div class="post-metadata">

### Author: ![cymplecy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cymplecy/32/2773_2.png) [@cymplecy](https://discourse.nodered.org/u/cymplecy)
#### Post date: [19 January 2020 20:24 UTC](https://discourse.nodered.org/t/editing-function-nodes-weird-happening-with-cursor/20593/4 "2020-01-19T20:24:08Z")

</div>

Not with me  
As soon as I click in an area - the cursor appears there and starts flashing and I can type stuff there

---

<div class="post-metadata">

### Author: ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)
#### Post date: [19 January 2020 20:25 UTC](https://discourse.nodered.org/t/editing-function-nodes-weird-happening-with-cursor/20593/5 "2020-01-19T20:25:00Z")

</div>

I may have to remember and try loading Chrome next time and trying it again.

---

<div class="post-metadata">

### Author: ![cymplecy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cymplecy/32/2773_2.png) [@cymplecy](https://discourse.nodered.org/u/cymplecy)
#### Post date: [19 January 2020 20:30 UTC](https://discourse.nodered.org/t/editing-function-nodes-weird-happening-with-cursor/20593/6 "2020-01-19T20:30:20Z")

</div>

what browser are you running on what type of machine/OS ?

---

<div class="post-metadata">

### Author: ![ghayne](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ghayne/32/39_2.png) [@ghayne](https://discourse.nodered.org/u/ghayne)
#### Post date: [19 January 2020 20:42 UTC](https://discourse.nodered.org/t/editing-function-nodes-weird-happening-with-cursor/20593/7 "2020-01-19T20:42:49Z")

</div>

I have the same behaviour as Simon (@cymplecy).

---

<div class="post-metadata">

### Author: ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)
#### Post date: [20 January 2020 03:49 UTC](https://discourse.nodered.org/t/editing-function-nodes-weird-happening-with-cursor/20593/8 "2020-01-20T03:49:06Z")

</div>

> [@cymplecy](#):
>
> what browser are you running on what type of machine/OS ?

FireFox Ubuntu 18.04 LTS

> [@ghayne](#):
>
> I have the same behaviour as Simon (@cymplecy).

Thnaks. Noted.

---

<div class="post-metadata">

### Author: ![cymplecy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cymplecy/32/2773_2.png) [@cymplecy](https://discourse.nodered.org/u/cymplecy)
#### Post date: [20 January 2020 11:36 UTC](https://discourse.nodered.org/t/editing-function-nodes-weird-happening-with-cursor/20593/9 "2020-01-20T11:36:01Z")

</div>

I tried Firefox (on win10 pc) and it DID do a little glitch (but not same as yours)

I dragged Function node out and double-clicked to edit it

The cursor was flashing in the grey line 1 area

I clicked on Name field and started typing and noticed that the cursor was in two places at once!

It was in the name field behaving normally but it was also still flashing in the grey area in line 1

Having cancelled out - I started again but it did not repeat this behaviour - it behaved exactly the same way as Chrome does

---

<div class="post-metadata">

### Author: ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)
#### Post date: [20 January 2020 11:39 UTC](https://discourse.nodered.org/t/editing-function-nodes-weird-happening-with-cursor/20593/10 "2020-01-20T11:39:17Z")

</div>

Thanks.

(Just because I'm paranoid: Doesn't mean they aren't watching me!) 😉  
Charles Bronson. Telefon.

Appreciated. It is nice to know it isn't only happening to me.
