Uploaded image for project: 'ZK Spreadsheet'
  1. ZK Spreadsheet
  2. ZSS-1360

a focus position in a formula editor is reset when other users edit cells under the collaboration mode

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 3.9.2
    • Fix Version/s: 3.9.4
    • Component/s: None
    • Security Level: Jimmy
    • Labels:
      None

      Description

      Steps to Reproduce

      1. enable collaboration mode
      2. user X and user Y open the same file
      3. user X edit A1 via formula editor .zsformulabar-editor-real, the cursor is at the end of the formula editor
      (do NOT leave the cursor)
      4. during user X is editing in the formula editor, user Y modify another cell e.g. C1

      Current Result

      user X's cursor jumps to the start of the formula editor

      Expected Result

      user A's cursor doesn't change its position

      Debug Information

      empty (zk.wpd:formatted:3892)
      jq.fn.(anonymous function) (zk.wpd:formatted:7574)
      (anonymous) (zk.wpd:formatted:3929)
      access (zk.wpd:formatted:543)
      html (zk.wpd:formatted:3908)
      setValue (zss.wpd:16)
      _onContentsChanged (zss.wpd:16)
      (anonymous) (zk.wpd:formatted:7030)
      fireX (zk.wpd:formatted:13703)
      fire (zk.wpd:formatted:13749)
      $supers (zk.wpd:formatted:7069)
      fire (zss.wpd:37)
      onResponse (zss.wpd:2)
      ...

      debug

      • user Y edits a cell in a different sheet doesn't reset user X's cursor.

      Workaround

      edit cells with inline editbox

        Attachments

          Activity

            People

            • Assignee:
              hawk hawk
              Reporter:
              hawk hawk
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: