PWA strange behavior... - Forum

Forum Navigation
You need to log in to create posts and topics.

PWA strange behavior...

Hi Luis,

I noticed a strange behavior in PWA app I began to do.
Video is easyer to me to explain.
I am using last update of VNW and the phone is Android 10
Keep going taking care of you and beloved !

Best regards

Uploaded files:
  • You need to login to have access to uploads.

Hi @cdy44-2 I see, it's because of the screen resizing when the keyboard appears and disappears.
I think @asmat had the same problem and he found a way to solve it, but not sure.
Anyway I will take a close look at it as soon as I can and let you know.
Best regards.

Hi again @cdy44-2, I have found a quick fix until I do a definitive one. Just change your code at Project > Events > Start-up for this one:

slScaleAppLetterBoxMax 375 667
BeginJS
  window.onresize=function(){
      window.scrollTo(0,0)
  };
EndJS
AppBackgroundColor "#000000"
ResizeDesktopWindow 375 667

Let me know if it works for you.

Thank you!

Hi Luis,

I will check !

Works better !! Thank you !

A small pinch of javascript can work wonders!

Take care !

@cdy44-2 I have updated VisualNEO Web to 20.4.15 version. Now includes this new command: FitAppToScreen
It should work quite more better for you using just this code:

FitAppToScreen false "top" "center"
AppBackgroundColor "#000000"
ResizeDesktopWindow 375 667

Regards.

CDY@44 and YASIN have reacted to this post.
CDY@44YASIN

Thank you for your promptness to make corrections when there are problems in VNW !!
Best regards,

Hi luishp

I solved my problem with these css properties: max-height and min-height

@luishp if it possible please add these css properties in VisualNEO Web too:

min-width

max-width

min-height

max-height

Uploaded files:
  • You need to login to have access to uploads.
luishp has reacted to this post.
luishp

@asmat I will add them for sure.
Please let me know if there are more CSS properties I should add.
Thank you!

asmat has reacted to this post.
asmat

Thanks luis about your kindness:

@luishp  how can  we use gradient in VisualNEO Web? we have already " background-image" properties but it does not work for gradient.

background-image: linear-gradient(red, yellow);

@luishp these css properties also have more use:

direction:rtl or ltr;
border-bottom:1px solid blue;
border-right:1px solid gray;
border-left:1px solid gray;
border-top:1px solid gray;

I used them widely in one of my applications:

 

 

 

Uploaded files:
  • You need to login to have access to uploads.
luishp and Vadim have reacted to this post.
luishpVadim

@asmat done! :)

https://visualneo.com/forum/topic/visualneo-web-version-20-4-19-released/

Thank you!

CDY@44 and asmat have reacted to this post.
CDY@44asmat

Wow

😮

Thank you so much luishp!