Results 1 to 5 of 5

Thread: Floating panel blur event not work in ExtJS 6.x

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

    Default Floating panel blur event not work in ExtJS 6.x

    Hi,


    Floating panel blur event not work in ExtJS 6.x

    This is working example. (5.x version)

    https://fiddle.sencha.com/#view/editor&fiddle/2ebo





    It works well in 5.x version.
    Only not working in 6.x version.

    Any Solutions?

  2. #2
    Sencha User
    Join Date
    Apr 2013
    Posts
    913

    Default

    If you check the docs, you'll see that "focusable" is read-only property. So, it's not exactly a bug.
    Anyway, you can make panel header focusable with the following config:
    PHP Code:
    header: {
            
    focusabletrue,
            
    tabIndex: -1,
           
    bubbleEvents: ['focus''blur']


  3. #3

    Default

    Quote Originally Posted by hakimio View Post
    If you check the docs, you'll see that "focusable" is read-only property. So, it's not exactly a bug.
    Anyway, you can make panel header focusable with the following config:
    PHP Code:
    header: {
            
    focusabletrue,
            
    tabIndex: -1,
           
    bubbleEvents: ['focus''blur']


    Thanks for reply.
    If panel header is not showing, is it possible panel body focusable?

  4. #4
    Sencha User
    Join Date
    Apr 2013
    Posts
    913

    Default

    Quote Originally Posted by recordable View Post
    Thanks for reply.
    If panel header is not showing, is it possible panel body focusable?
    You can add click listener to panel body:
    PHP Code:
    panel.body.on('click'this.onBodyClickthis); 
    And then either fire the "focus" event on the panel itself or call focus() method on panel's header.

  5. #5
    Sencha User Animal's Avatar
    Join Date
    Mar 2007
    Location
    Bédoin/Nottingham
    Posts
    30,890

    Default

    It could be that what you are actually after is a focusleave event.

    focus is different.

Similar Threads

  1. Grid Blur Event - does it work?
    By dd_polla in forum Ext 5: Q&A
    Replies: 2
    Last Post: 30 Oct 2015, 12:12 PM
  2. Extjs 4 - Blur event at Combo-Box firing twice
    By netemp in forum Ext: Discussion
    Replies: 0
    Last Post: 13 Oct 2011, 2:20 AM

Posting Permissions

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