This caught my eye.  Are we sure about this?  If I create a Button by wrapping 
a <button> in a <div> I would think many events want to come directly from the 
button and not the div, but I can certainly understand the opposite could be 
true as well.  What was the scenario here?

-Alex

On 4/17/19, 2:55 PM, "[email protected]" <[email protected]> wrote:

    This is an automated email from the ASF dual-hosted git repository.
    
    carlosrovira pushed a commit to branch develop
    in repository 
https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgitbox.apache.org%2Frepos%2Fasf%2Froyale-asjs.git&amp;data=02%7C01%7Caharui%40adobe.com%7C3c916dc5dfa2462e3c7108d6c37f5a86%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636911349076776345&amp;sdata=k08fa1pwB9jQ7jwx1z0190OBt5CVnb6yHchQ73oA%2Fz0%3D&amp;reserved=0
    
    
    The following commit(s) were added to refs/heads/develop by this push:
         new e458f7c  core-HTMLElementWrapper: make getActualDispatcher_ 
function use positioner instead element
    e458f7c is described below
    
    commit e458f7c083cff64032d6081b4676454af46b5457
    Author: Carlos Rovira <[email protected]>
    AuthorDate: Wed Apr 17 23:54:55 2019 +0200
    
        core-HTMLElementWrapper: make getActualDispatcher_ function use 
positioner instead element
    ---
     .../Core/src/main/royale/org/apache/royale/core/HTMLElementWrapper.as   | 
2 +-
     1 file changed, 1 insertion(+), 1 deletion(-)
    
    diff --git 
a/frameworks/projects/Core/src/main/royale/org/apache/royale/core/HTMLElementWrapper.as
 
b/frameworks/projects/Core/src/main/royale/org/apache/royale/core/HTMLElementWrapper.as
    index 4ebff5a..54a2d6c 100644
    --- 
a/frameworks/projects/Core/src/main/royale/org/apache/royale/core/HTMLElementWrapper.as
    +++ 
b/frameworks/projects/Core/src/main/royale/org/apache/royale/core/HTMLElementWrapper.as
    @@ -261,7 +261,7 @@ package org.apache.royale.core
                 var source:Object = this;
                 if (ElementEvents.elementEvents[type]) {
                     // mouse and keyboard events also dispatch off the element.
    -                source = this.element;
    +                source = this.positioner;
                 }
                 return source;
             }
    
    

Reply via email to