Uploaded image for project: 'Keikai'
  1. Keikai
  2. KEIKAI-616

backspace doesn't work in hex input

    XMLWordPrintable

    Details

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

      Description

      Steps to Reproduce

      1. open the background color dropdown in the toolbar
      2. focus on the hex input
      3. press the backspace key

      Current Result

      nothing deleted

      Expected Result

      delete 1 character

      Debug Information

      • it's handled by keikai doKey() but doesn't propagate to a browser

      Workaround

      var exWidget = {};
      zk.override(zss.Spreadsheet.prototype, exWidget, {
      /* zk default afterKeyDown() prevent default and make backspace not working. Because spreadsheet widget also listener the backspace */
      afterKeyDown_: function(event){
      if (event.domEvent.target.nodeName == 'INPUT')

      { // return; }

      exWidget.afterKeyDown_.apply(this, arguments);
      },
      });

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              gordonhsu gordonhsu
              Reporter:
              hawk hawk
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: