SAP Knowledge Base Article - Preview

3756194 - initial page load scrolls to smartfilterbar despite autofocus disabled in ui5 app

Symptom

  • A UI5 application built in Business Application Studio contains a GridContainer with multiple cards; one lower card embeds a Fragment with a SmartFilterBar and SmartTable.
  • On initial load, the page automatically scrolls to and focuses the first input of the SmartFilterBar.
  • The behavior occurs even when autoFocus is disabled on the NavContainer and the top-level sap.m.App.
  • The behavior occurs consistently on the initial load.


Read more...

Environment

  • Product: SAP S/4HANA
  • UI5 Smart Controls Sofia

Product

SAP S/4HANA all versions

Keywords

ui5 autofocus, smartfilterbar focus, gridcontainer scroll, initial load focus, navcontainer autofocus false, sap.m.app autofocus, focus stealing, smart table, ui5 fragment, page jumps on load, ui5 focus behavior, ui5 1.120.44 fix, business application studio, smart controls, card layout , KBA , CA-UI5-CMP-SOF , UI5 Smart Controls Sofia , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.