script-lab icon indicating copy to clipboard operation
script-lab copied to clipboard

Switching tabs should remember caret position

Open retailcoder opened this issue 5 years ago • 0 comments

Bug Report

  • Host: EXCEL
  • OS: Win10
  • Browser: Chrome
  • Environment: Excel Online / OneDrive

Expected behavior:

I'm at line 873 in the [Script] tab, and need to tweak some markup in the [HTML] tab. I click the [HTML] tab and make changes at line 84 to the UI elements I'm working with. I then click the [Script] tab, and expect to still be at line 873. If I click the [HTML] tab, I expect to be at line 84 in that tab.

Actual behavior:

Caret position is lost, clicking on any navigation tab takes you back to line 1 and you have to scroll to find where you were.

retailcoder avatar Feb 25 '20 04:02 retailcoder