RE: mx.net.FileReference chrome

2025-04-24 Thread Maria Jose Esteve
into this? Hiedra De: Yishay Weiss Enviado el: jueves, 24 de abril de 2025 15:28 Para: Maria Jose Esteve ; dev@royale.apache.org CC: Harbs Asunto: Re: mx.net.FileReference chrome I'm thinking we can just get rid of isElementClickFriendly and just always create the proxy button. _

Re: mx.net.FileReference chrome

2025-04-24 Thread Yishay Weiss
I'm thinking we can just get rid of isElementClickFriendly and just always create the proxy button. From: Maria Jose Esteve Sent: Thursday, April 24, 2025 2:25 PM To: Yishay Weiss ; dev@royale.apache.org Cc: Harbs Subject: RE: mx.net.FileReference c

RE: mx.net.FileReference chrome

2025-04-24 Thread Maria Jose Esteve
ache/royale-asjs/blob/examples/TDJ_localresources/frameworks/projects/Network/src/main/royale/org/apache/royale/file/beads/FileBrowser.as De: Yishay Weiss Enviado el: jueves, 24 de abril de 2025 13:31 Para: Maria Jose Esteve ; dev@royale.apache.org CC: Harbs Asunto: Re: mx.net.FileReference chrome I like th

Re: mx.net.FileReference chrome

2025-04-24 Thread Yishay Weiss
. What do you think? From: Maria Jose Esteve Sent: Thursday, April 24, 2025 2:12 AM To: Yishay Weiss ; dev@royale.apache.org Cc: Harbs Subject: RE: mx.net.FileReference chrome I have done a little investigation [1], and I propose the following changes to t

RE: mx.net.FileReference chrome

2025-04-23 Thread Maria Jose Esteve
I have done a little investigation [1], and I propose the following changes to the bead [2]: - Added “isElementClickFriendly(el:WrappedHTMLElement)” to verify if the current “document.activeElement” is a valid trigger for programmatic “.click()” based on visibility, interactivity, and semantics

Re: mx.net.FileReference chrome

2025-04-23 Thread Yishay Weiss
I don't think activeElement can necessarily dispatch a click() event... From: Maria Jose Esteve Sent: Wednesday, April 23, 2025 12:58 PM To: dev@royale.apache.org Cc: Harbs ; Yishay Weiss Subject: RE: mx.net.FileReference chrome The email subject is inco

RE: mx.net.FileReference chrome

2025-04-23 Thread Maria Jose Esteve
de 2025 1:24 Para: dev@royale.apache.org Asunto: RE: mx.net.FileReference chrome I've already solved it by "modifying FileBrower.as" do you think it's correct to commit it? public function browse():void { COMPILE::SWF

RE: mx.net.FileReference chrome

2025-04-15 Thread Maria Jose Esteve
//New COMPILE::JS private function clickHandler(e:Object):void { delegate.click(); } Hiedra -Mensaje original- De: cont...@cristallium.com Enviado el: martes, 15 de abril de 2025 9:2

Re: mx.net.FileReference chrome

2025-04-15 Thread contact
Hi Maria, Perhaps it's the same issue I had with autoplay on videos. Some browser need a user gesture event to enable it. Do you tried to add clic event to be sure that the browse method is called in a user clic case ? If it may help here is my working code : public function ev_cli

RE: mx.net.FileReference chrome

2025-04-14 Thread Maria Jose Esteve
IMEOUT constant to 250, everything works fine. What would be the best way to change the value of the static constant CANCEL_TIMEOUT? Hiedra -Mensaje original- De: Josh Tynjala Enviado el: lunes, 14 de abril de 2025 21:21 Para: dev@royale.apache.org Asunto: Re: mx.net.FileReference c

Re: mx.net.FileReference chrome

2025-04-14 Thread Josh Tynjala
dButton.addEventListener("focus", focusHandler); > > > window.addEventListener("keydown", keyHandler); > > > window.addEventListener("mousemove", mouseHandler); > > > window.addEventListener("mousedown", mouseHandler); > > > dele

RE: mx.net.FileReference chrome

2025-04-14 Thread Maria Jose Esteve
} Hiedra -Mensaje original----- De: Josh Tynjala mailto:joshtynj...@bowlerhat.dev>> Enviado el: lunes, 14 de abril de 2025 19:36 Para: dev@royale.apache.org<mailto:dev@royale.apache.org> Asunto: Re: mx.net.FileReference chrome Browsers have certain security res

Re: mx.net.FileReference chrome

2025-04-14 Thread Josh Tynjala
Browsers have certain security restrictions where you can't call certain APIs unless the user has interacted with the page in some way. In this case, if you want to call FileReference.browse(), it must be triggered by a listener for a user gesture, such as mouse click or key down. -- Josh Tynjala