on 07-17-2014 3:04 PM
Hi,
I want to scroll the page to the top if one of my condition fails. I achieved that by:
function pageScroll() {
window.scrollBy(0,-50);
scrolldelay = 0;
}
This function is called after some few validation. now the problem is that after the page has scrolled up it comes back to the button because its on focus by defaults (i guess).
Is anyone know how to disable focus on the SAPUI5 button after clicking it?
Regards,
Bheki
Hi Bheki,
Have you used focus() for the button?
I think that you should use removeFocusableArea(id).
Please refer to the links below for more information:
Implementing Focus Handling - User Interface Add-On for SAP NetWeaver - SAP Library
Regards,
Ashvin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
13 | |
7 | |
3 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.