Results 1 to 4 of 4

Thread: Ext JS 6 - Firefox doesn't recognize enter as special key

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1

    Default Ext JS 6 - Firefox doesn't recognize enter as special key

    Hi,
    I'm having a problem in Ext.Editor using Firefox latest release(50.1.0) on Mac. I'm using Ext JS 6.0.1
    I've seen this code:
    Code:
    initComponent: function() {
        var me = this,
            field = me.field = Ext.ComponentManager.create(me.field || {}, 'textfield');
    
    
        field.msgTarget = field.msgTarget || 'qtip';
        me.mon(field, {
            scope: me,
            specialkey: me.onSpecialKey
        });
    
    
        if (field.grow) {
            me.mon(field, 'autosize', me.onFieldAutosize,  me, {delay: 1});
        }
        me.floating = {
            constrain: me.constrain
        };
        me.items = field;
    
    
        me.callParent(arguments);
    }
    As the documentation says, specialKey Fires when any key related to navigation (arrows, tab, enter, esc, etc.) is pressed. You can check Ext.event.Event#getKey to determine which key was pressed.

    But on Firefox this doesn't happen when I press the enter key while on an editor, the event is never fired.
    Anyone with the same issue?
    is this a bug?

  2. #2
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985

    Default

    Thanks for the report. This was reported a while back but it later couldn't be reproduced in recent releases so the ticket was closed.
    https://www.sencha.com/forum/showthread.php?301938

    Can you please post a test case which reproduces this issue for you?
    https://fiddle.sencha.com/#view/editor

  3. #3

    Default

    Never mind..I was working on the fiddle and discovered it was a bug in my code.

  4. #4
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985

    Default

    Glad to hear you've eliminated the bug, and thanks for posting a follow-up here.

Similar Threads

  1. [FIXED] Webstorm Plugin doesn't recognize Store
    By christianb in forum JetBrains IDE Plugin
    Replies: 7
    Last Post: 9 Jul 2016, 9:23 AM
  2. Replies: 1
    Last Post: 9 Jun 2015, 6:39 AM
  3. Replies: 3
    Last Post: 17 Aug 2011, 11:09 PM
  4. Add a special keys event to htmleditor (detect enter key)
    By mattx33sayWHAT in forum Ext 3.x: Help & Discussion
    Replies: 1
    Last Post: 20 Dec 2009, 6:43 PM
  5. FormPanel => Enter key doesn't submit in Firefox
    By Kutu in forum Ext GWT: Bugs (1.x)
    Replies: 4
    Last Post: 31 Aug 2008, 8:23 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •