the code worked and now no longer works.
before you update the constructor, the code worked, after the update stopped. Can provide me another code that make the same function?
you appear, "in IMAGE" but I want the carousel disappear.
Rafael,
I am not an Appery employee, but another user. I was having problems with Carousel hiding EVEN before the latest update. It would hide fine, but create other side effects that were unacceptable (like some temporary freezing behaviors).
So, I changed it - I created a 1x1 grid, called it "carouselGrid", set the padding of the single cell to 0,0,0,0 and put the carousel into it. Then, I can do
Appery("carouselGrid").hide();
This works very well. Maybe you can try it.
-Kal.
Hi Rafael,
Kal advised a good solution!
Also please check whether if conditions are true. Are there any errors in console?
If this does not work for you please share the app with a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a and tell us its name.
not work for me Kal
Hmmm... are you sure if the "if condition" is met. You can always put a temporary alert inside the if block to see if it is getting fired.
How do I do it?
Just temporary replace
Apperyio('mobilecarousel').hide();
with -
alert('mobile carousel should hide');
If you don't get the alert box, then you know the "if" is not met.
I put the alert but it didn't work.
The carousel has not disappeared, and the alert was not.
can you help me?
I put the alert but it didn't work.
The carousel has not disappeared, and the alert was not.
can you help me?
Then neither of those 2 conditions is evaluating to "true". You need to figure out why, can't help you with that.