backspace doesn't work in hex input

XMLWordPrintable

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

      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);
      },
      });

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

              Created:
              Updated:
              Resolved: