Results 1 to 4 of 4

Thread: Floating panel - Focus and Blur Event

  1. #1

    Default Floating panel - Focus and Blur Event

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


    Floating Panel - Focus and Blur Events are not working.
    How can I catch Focus and Blur Events ?

  2. #2
    Sencha User
    Join Date
    Dec 2015
    Posts
    116
    Answers
    12

    Default

    I don't know. But if you use a window it works fine.
    Sorry,

  3. #3
    Sencha - Ext JS Dev Team nohuhu's Avatar
    Join Date
    Jun 2011
    Location
    Redwood coast
    Posts
    402
    Answers
    26

    Default

    recordable,

    You didn't add any focusable elements to the panel, so it never gets focused or blurred. `focusable` property does not affect DOM.

    Window works exactly because its main element has `tabIndex` property and thus is focusable.
    Regards,
    Alex.

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

    Default

    And since it's a panel you are talking about, conceptually, do you really want it to be focused? Or are you talking about some kind of fields inside it which receive focus, and you want notification when that happens?

    In which case, you will be more interested in

    https://docs.sencha.com/extjs/6.5.3/...ent-focusenter
    https://docs.sencha.com/extjs/6.5.3/...ent-focusleave

Similar Threads

  1. Floating panel blur event not work in ExtJS 6.x
    By recordable in forum Ext JS 6.x Bugs
    Replies: 4
    Last Post: 18 Mar 2018, 7:41 AM
  2. blur event and focus issues
    By k.janiszewski in forum Ext: Q&A
    Replies: 2
    Last Post: 10 Apr 2013, 11:18 AM
  3. focus comes before blur event
    By htammen in forum Ext 3.x: Help & Discussion
    Replies: 5
    Last Post: 10 Nov 2010, 6:04 AM
  4. Blur event and focus
    By simon in forum Ext 3.x: Help & Discussion
    Replies: 5
    Last Post: 7 Jan 2010, 11:35 PM

Posting Permissions

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