BUG REPORT: When using the CODE EDITOR for themes the text input moves to the top for no reason

Solved

BUG REPORT: When using the CODE EDITOR for themes the text input moves to the top for no reason

cfc_webmaster
Explorer
47 0 126

This one is pretty simple and I am surprised more people have not reported it.

The possibility exists that my particular setup is causing this (which I did explore)

 

PROBLEM SUMMARY:

When typing CODE into the ADMIN THEME EDITOR the input position will randomly jump to the beginning of the file while in the middle of typing. To test this out open any LIQUID file (try an especially long one, something with 2000+ lines) move way down into the document and start writing code... you will see in the middle of writing that the cursor position JUMPS to the top of the document.

 

Some important considerations: 

  • This happens in Google CHROME where I have tested it the most
  • I was able to also reproduce the issue on FIREFOX but it seems to happen less...
  • I am using Bluetooth mouse/keyboard on a full PC based Desktop
  • When switching to a laptop with a trackpad it seems to happen less

However, in all cases, I was able to reproduce the issue, eventually, simply by typing.

Accepted Solution (1)

Jacqui
Community Manager
442 63 686

This is an accepted solution.

This issue impacting the theme editor has now been resolved. If you continue to experience any issues, please try clearing your cache before logging in, or let us know by posting a new topic with as much detail as possible!

 

Thank you for your patience.

Jacqui | Community Manager @ Shopify
To learn more visit the Shopify Help Center or the Shopify Blog

View solution in original post

Replies 26 (26)

AlfieHayward1
Excursionist
16 2 1

I have been having the exact same problem. Its never happened before, but now when editing code, the text randomly jumps to the top of the editor to the first line.

I don't know if i can fix it or if it's a bug Shopify need to update to remove. 

 

What theme are you using? 

richarda1
Visitor
2 0 0

I have exactly the same problem, started around 12-15 hours ago.

  • Chrome 105.0.5195.127 / Windows 
  • Wired mouse and keyboard

ckdev
Tourist
3 0 6

Same for me as well - the new editor is absolutely terrible since it launched. Glitchy mark-up, this new jumping issue and not all files re-opening on refresh. Who makes these ridiculous decisions at Shopify? 

jujomoto
Shopify Partner
2 0 1

I'm facing the same problem since last Friday, please fix it soon, it's very annoying

nikkopify
Shopify Partner
3 0 0

Same thing happening to me. I'm working on 1 dev store & 1 Shopify store with a plan, editing on both stores randomly switches the text input on the very top of the file. I thought it was my keyboard malfunctioning.

mmorris
Tourist
10 0 1

Same is happening for me on Google Chrome, I've been having to use Microsoft Edge where the issue doesn't seem to be happening at all, it's super frustrating.

richarda1
Visitor
2 0 0

Can confirm switching to Edge works for me too. Thanks for the (hopefully temporary) solution!

steveler
Visitor
2 0 0

Same here, MacOS and Google Chrome

photosbyvito
Visitor
1 0 0

This happens to me as well. I'd say for the last year, it was happening in the customizer side. I got into the habit of typing up all my content into Notepad and copying and pasting it in, but on the code editor side, it is far more irritating to do that.

I used Chrome and Firefox, incognito windows, safe mode, and it still happens every time. For me it usually jumps within 20-30 characters typed, which is infuriating. Windows, wired mouse, wired keyboard

Is it related to security checks?

marcoswata
Shopify Partner
123 10 36

Having the same problem. Really annoying. And if you don't realise you typed code at the beginning of the file, where the cursor randomly moved to, the store will have a random string showing in a random location. 

If my answer was helpful then please Like and Accept Solution 🙂
If you need help with design, development or marketing your store, contact me!

mmjjanssen
Shopify Partner
16 2 5

Same issue here sinds this week. I'm also using a Mac (macOS Montery) and the latest version of Chrome. I've noticed it appears more often when I type code at a faster rate. A solution would be nice, because this isn't working out for me right now.

...

R-Daneel
Shopify Partner
17 0 19

The issue seems to happen less if you type very slowly, which is not very productive. It looks to me like the new code editor is processing as you type and something in that is causing the cursor to lose focus (I've noticed the code editor twitching left and right while I type, as well). This happens for me in Firefox and other browsers. I first noticed it on Monday. I sent Shopify a video of what is happening.

 

There are so many things not to like about the new code editor:
1. Very glitchy. Along with the current problem, we've noticed:

    - Assets are no longer marked as changed files.

    - Intermittently, when you leave a css file and then go back to it, the cursor has returned to the top of the page, so you have to scroll down to where you were working each time.

    - The search disappears after the first replace.

    - There's some sort of space to the left of the code.

2. No dark mode?!?!?

3. I really liked having the menu on the left but being able to expand the code editor across the whole screen when I wanted to. Bring back the old version!

 

We have multiple stores on Shopify. Different stores received the new code editor on different days and it seemed to me like development on the code editor was happening in production rather than in a test environment. I kind of felt like I was QAing for them. 🙂

    

nikkopify
Shopify Partner
3 0 0

I'm using edge but the bug is still present.
Typing fast will repeatedly keep the text input on the very top of the file.

In addition to what R-Daneel said, there's also no feature to arrange the tabs in the new editor version 

Valhyr
Visitor
1 0 1

Also facing this issue - as mentioned by other users here as well, the new editor feels like a huge leap backwards, it's really clumsy and less effective

Guess I will use notepad++ for the time being but it's a bit tedious copying everything back and forth but this issue is giving me a headache

jkp72
Shopify Partner
3 0 0

Just want to add my 2¢ and hopefully they get on fixing this ASAP.  This is ridiculous.  We can't no longer work in the code editor....it's basically useless at this point.  I have to type slow like typing with 1 finger just to work in it.

roicomau
Visitor
1 0 0

I can confirm this issue as well. Windows 11. Wireless Logitech Keyboarad + Mouse. Google Chrome.

 

Its very frustrating and makes it very hard to work with.

NathanD
Shopify Partner
1 0 1

Same here still, please fix this its painful to work with

 

Jenny3
Shopify Partner
5 0 3

OMG YES. Same problem here on my Mac with Chrome. I had to switch from Safari because Shopify was so unbelievably sluggish on that browser. 

This is making it very difficult to work. I find that the problem doesn't happen as often if I type slowly, which is not exactly efficient. 🙄

marcoswata
Shopify Partner
123 10 36

How do we raise this to Shopify? No one from Shopify has acknowledge this bug..

If my answer was helpful then please Like and Accept Solution 🙂
If you need help with design, development or marketing your store, contact me!
Svariati
Shopify Partner
4 0 1

I spoke with Shopify about this via live chat yesterday - they noted they don't fully monitor these forums and were unaware of the multiple threads regarding it. I provided a screen capture of it  happening on a client store and have been told it's been raised with the relevant teams. I'd recommend anyone experiencing the same problem reports it via live chat to ensure it stays in their eyeline.

liamgilroy
Shopify Partner
5 0 0

I'm having the same problem... apprently typing slowly helps but is completely unproductive. Also... where's the dark mode??

Lift each other up.

Jacqui
Community Manager
442 63 686

We understand that some of you are experiencing issues with the theme editor right now. Our developers are aware and are currently working on a solution. We will continue to provide updates to you here as we work to resolve this.

We'll accept this update as a solution so users can easily find the most recent update. Thank you for your patience.

Jacqui | Community Manager @ Shopify
To learn more visit the Shopify Help Center or the Shopify Blog
cfc_webmaster
Explorer
47 0 126

@Jacqui I want to thank you for addressing this, it has not been a problem at all this week and I appreciate your hard work on this and I can clearly see Shopify addressed the issue as its gone. Cheers!

 

I thought I was going insane for a time, as it only seemed to happen when I was typing and not looking at the screen, then seeing that no one else had reported it seemed impossible to me (gaslighting by google). lol, then I saw it happen and realized "its not me, this is real"

jujomoto
Shopify Partner
2 0 1

I can confirm, it was solved, thanks

Jacqui
Community Manager
442 63 686

This is an accepted solution.

This issue impacting the theme editor has now been resolved. If you continue to experience any issues, please try clearing your cache before logging in, or let us know by posting a new topic with as much detail as possible!

 

Thank you for your patience.

Jacqui | Community Manager @ Shopify
To learn more visit the Shopify Help Center or the Shopify Blog
jkp72
Shopify Partner
3 0 0

Thank you!  I can confirm that this issue has been resolved.