Accordion, scroll to top of active (open) accordion on click?second time

Hello!

sorry for my second time question because nobody reply me for my question.

I really need solution for my problem and I believe outsystems can solve because outsystems is poweful.

My problem is below.Please someone check my problem and help me.


I’m making accordions with a large amount of text and image. When you read to the bottom and click the next accordion, the large amount of text is collapsed and I’m left at the bottom of the page.

I’d like to scroll to top of the specific active panel that is open.

Please, it would be great not be left at the bottom of a page after closing an accordion with a large amount of text. Can anyone help me?

Hi May Zin,

Is it possible for you to share an example oml with your issue , that will be really easy to reproduce the issue at our end and to provide better and quick solution.


Regards,

-PJ-

Hello Pramod 

Thanks you for your quickly reply.

Yes,I can share my sample oml.

Please give me good idea.

Thanks.

MZL

Processing Upload...

Hi May Zin,

I have updated your oml find it.

also you can modify accordingly some css.


Hope this will help you

Regards

Rahul Sahu

Hi Rahul Sahu

Thanks you for your reply.

unfortunately I cannot download your upload.You are still processing upload.

I was waited 20 mins but I cannot.But don't worry I can wait.

Thanks.

Rahul Sahu wrote:

Hi May Zin,

I have updated your oml find it.

also you can modify accordingly some css.


Hope this will help you

Regards

Rahul Sahu


Hi Rahul

you are still in Processing Upload.

if possible please check you upload oml again.

thanks.

Hi May Zin,

I am trying to upload  but it is showing in processing.

I expain you what i did in it.


Take a on boolean variable set it default false and assign to accordian

Take a Icon or link able and add a action ajax refresh and assign boolean variable True and refresh block accrodian.

when click on this icon/action all section is closed and which one you want will open.


just like below image

add css for this icon to poisition fixed when page moving top to bottom ot bottom to top.


Hope this will help you.


Regards

Rahul Sahu

Rahul Sahu wrote:

Download from Here

https://drive.google.com/file/d/1pfhPjHC5djRFc7FGXK1hTEcyRuy4kMlZ/view?usp=sharing


Thanks you Rahul.

But I am sorry because it is not my requirement.

If you have the best way please indicate me.

Reagrds.