cancel
Showing results for 
Search instead for 
Did you mean: 

Page ScrollTo is not working after adding BusyIndicator

Jayakrishnan
Active Participant
0 Kudos

Hi Experts,

I am working on one Custom SAPUI5 application development. I have included the scrollTo option to my page after clicking the button at the top, It will scroll to the mentioned position.

oPage.scrollTo(200,300);

It was working as expected.

But the moment I added the busyIndicator for OData Call, it stops working.

BusyIndicator Code:

	this.getView().getModel().attachRequestSent(function () {
					oGlobalBusyDialog.open();
				});
			
				this._setupChart();
				
				this.getView().getModel().attachRequestCompleted(function () {
					oGlobalBusyDialog.close();


				});
//After this part it automaically scrolled up ebenthough i added the oPage.ScrollTo action.

Please help me to sort it out.

Thank you,

Regards,

JK.

View Entire Topic
former_member182372
Active Contributor
0 Kudos

is enableScrolling of Page set to "true".

Jayakrishnan
Active Participant
0 Kudos

I didnt, i will try and let you know