UIComponents set visible positioner.style.visibility = null not working wir IE11

classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|

UIComponents set visible positioner.style.visibility = null not working wir IE11

tranquiliste
Hello all,

I was testing my application on IE11 and I noticed that set visible was not
working correctly in IE11 as the container had still the visibility at
'hidden' (with errorContainer.visible=true; fir instance)

 Looking in more detail to the source of UIComponents.js I saw that the set
visible function was using
* positioner.style.visibility = null *
to set it ot visible and that it had no effect with IE11.

switching to * positioner.style.visibility = 'visible'* makes it working on
IE1 (and continue to work on FF)

Is this a bug?

Nicolas



-----
Nicolas
--
Sent from: http://apache-royale-users.20374.n8.nabble.com/
Nicolas
Reply | Threaded
Open this post in threaded view
|

RE: UIComponents set visible positioner.style.visibility = null not working wir IE11

yishayw

Yes, it’s a bug. Which version are you using? Have you tried the nightly build? I think this has been fixed.

 

From: [hidden email]
Sent: Tuesday, July 7, 2020 3:14 PM
To: [hidden email]
Subject: UIComponents set visible positioner.style.visibility = null not working wir IE11

 

Hello all,

I was testing my application on IE11 and I noticed that set visible was not
working correctly in IE11 as the container had still the visibility at
'hidden' (with errorContainer.visible=true; fir instance)

 Looking in more detail to the source of UIComponents.js I saw that the set
visible function was using
* positioner.style.visibility = null *
to set it ot visible and that it had no effect with IE11.

switching to * positioner.style.visibility = 'visible'* makes it working on
IE1 (and continue to work on FF)

Is this a bug?

Nicolas



-----
Nicolas
--
Sent from: http://apache-royale-users.20374.n8.nabble.com/

 

Reply | Threaded
Open this post in threaded view
|

RE: UIComponents set visible positioner.style.visibility = null not working wir IE11

tranquiliste
Hello,
Thanks for your quick answer. I am using 0.9.7.

Il will install the nightly build to see if it has been corrected

Nioclas



-----
Nicolas
--
Sent from: http://apache-royale-users.20374.n8.nabble.com/
Nicolas
Reply | Threaded
Open this post in threaded view
|

RE: UIComponents set visible positioner.style.visibility = null not working wir IE11

tranquiliste
I confirm that it is corrected in the nightly build.

Do you know when 0.9.8 is expected to be released?

Nicolas



-----
Nicolas
--
Sent from: http://apache-royale-users.20374.n8.nabble.com/
Nicolas
Reply | Threaded
Open this post in threaded view
|

Re: UIComponents set visible positioner.style.visibility = null not working wir IE11

Harbs
As soon as I get my act together… ;-)

Harbs

> On Jul 7, 2020, at 5:21 PM, tranquiliste <[hidden email]> wrote:
>
> I confirm that it is corrected in the nightly build.
>
> Do you know when 0.9.8 is expected to be released?
>
> Nicolas
>
>
>
> -----
> Nicolas
> --
> Sent from: http://apache-royale-users.20374.n8.nabble.com/

Reply | Threaded
Open this post in threaded view
|

Re: UIComponents set visible positioner.style.visibility = null not working wir IE11

tranquiliste
Thanks Harbs,

I don't want to use the nightly build for the project to avoid regression,
so I  was thinking to backport the 2 lines modification in the 0.9.7 and I
was wondering if/what I need to compile the patched 0.9.7?

Nicolas



-----
Nicolas
--
Sent from: http://apache-royale-users.20374.n8.nabble.com/
Nicolas
Reply | Threaded
Open this post in threaded view
|

RE: UIComponents set visible positioner.style.visibility = null not working wir IE11

yishayw

Are you compiling from source? If so, it should be as easy as re-compiling after cherry-picking 9029464918b0d3dbb746343cd5bb337d77cd2a3c.

 

From: [hidden email]
Sent: Wednesday, July 8, 2020 1:09 PM
To: [hidden email]
Subject: Re: UIComponents set visible positioner.style.visibility = null not working wir IE11

 

Thanks Harbs,

I don't want to use the nightly build for the project to avoid regression,
so I  was thinking to backport the 2 lines modification in the 0.9.7 and I
was wondering if/what I need to compile the patched 0.9.7?

Nicolas



-----
Nicolas
--
Sent from: http://apache-royale-users.20374.n8.nabble.com/

 

Reply | Threaded
Open this post in threaded view
|

RE: UIComponents set visible positioner.style.visibility = null not working wir IE11

tranquiliste
Hello,

No I am not compiling from source, how should I do?

my current compiler options are (with visual studio code)
{
        "compilerOptions": {
                "targets": ["JSRoyale"],
                "source-path": ["src"],
                "source-map": true,
                "output": "../ProjectBuilds",
                "html-output-filename": "Project.html",
                "library-path": [
                        "${royalelib}/js/libs/MXRoyaleJS.swc"
                ],
                "js-library-path": [
                        "${royalelib}/js/libs/MXRoyaleJS.swc"
                ],
                "remove-circulars": true
        },
    "additionalOptions":
"-keep-as3-metadata+=Inject,Dispatcher,EventHandler,PostConstruct,PreDestroy,ViewAdded,ViewRemoved,Bindable,Transient
-keep-code-with-metadata=Inject",
        "mainClass": "Project",
        "copySourcePathAssets": true
}

Thanks
Nicolas



-----
Nicolas
--
Sent from: http://apache-royale-users.20374.n8.nabble.com/
Nicolas
Reply | Threaded
Open this post in threaded view
|

Re: UIComponents set visible positioner.style.visibility = null not working wir IE11

Piotr Zarzycki
Hi Nicolas,

You have two options to build framework.

1) Using ANT - instruction can be found here [1]
2) Using Apache Maven - I personally recommend to use that one, but that's just a preference [2]. There is special parameter which allows you to output Royale binaries which can be used in your IDE.


Thanks,
Piotr

śr., 8 lip 2020 o 13:53 tranquiliste <[hidden email]> napisał(a):
Hello,

No I am not compiling from source, how should I do?

my current compiler options are (with visual studio code)
{
        "compilerOptions": {
                "targets": ["JSRoyale"],
                "source-path": ["src"],
                "source-map": true,
                "output": "../ProjectBuilds",
                "html-output-filename": "Project.html",
                "library-path": [
                        "${royalelib}/js/libs/MXRoyaleJS.swc"
                ],
                "js-library-path": [
                        "${royalelib}/js/libs/MXRoyaleJS.swc"
                ],
                "remove-circulars": true       
        },
    "additionalOptions":
"-keep-as3-metadata+=Inject,Dispatcher,EventHandler,PostConstruct,PreDestroy,ViewAdded,ViewRemoved,Bindable,Transient
-keep-code-with-metadata=Inject",
        "mainClass": "Project",
        "copySourcePathAssets": true
}

Thanks
Nicolas



-----
Nicolas
--
Sent from: http://apache-royale-users.20374.n8.nabble.com/


--

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki

Reply | Threaded
Open this post in threaded view
|

Re: UIComponents set visible positioner.style.visibility = null not working wir IE11

Alex Harui-2

IIRC, standard Flex “monkey-patching” should also work.  Copy the one source file into the source-path with the correct folder structure.

 

-Alex

 

From: Piotr Zarzycki <[hidden email]>
Reply-To: "[hidden email]" <[hidden email]>
Date: Wednesday, July 8, 2020 at 4:57 AM
To: "[hidden email]" <[hidden email]>
Subject: Re: UIComponents set visible positioner.style.visibility = null not working wir IE11

 

Hi Nicolas,

 

You have two options to build framework.

 

1) Using ANT - instruction can be found here [1]

2) Using Apache Maven - I personally recommend to use that one, but that's just a preference [2]. There is special parameter which allows you to output Royale binaries which can be used in your IDE.

 

 

Thanks,

Piotr

 

śr., 8 lip 2020 o 13:53 tranquiliste <[hidden email]> napisał(a):

Hello,

No I am not compiling from source, how should I do?

my current compiler options are (with visual studio code)
{
        "compilerOptions": {
                "targets": ["JSRoyale"],
                "source-path": ["src"],
                "source-map": true,
                "output": "../ProjectBuilds",
                "html-output-filename": "Project.html",
                "library-path": [
                        "${royalelib}/js/libs/MXRoyaleJS.swc"
                ],
                "js-library-path": [
                        "${royalelib}/js/libs/MXRoyaleJS.swc"
                ],
                "remove-circulars": true       
        },
    "additionalOptions":
"-keep-as3-metadata+=Inject,Dispatcher,EventHandler,PostConstruct,PreDestroy,ViewAdded,ViewRemoved,Bindable,Transient
-keep-code-with-metadata=Inject",
        "mainClass": "Project",
        "copySourcePathAssets": true
}

Thanks
Nicolas



-----
Nicolas
--
Sent from: http://apache-royale-users.20374.n8.nabble.com/


 

--

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki