Skip to content

[Feature Request]: ui5-notification-list & ui5-list - focus() should automatically focus an item #11483

Closed
@dimovpetar

Description

@dimovpetar

Feature Request Description

Similar to OpenUI5 List and NotificationList controls, calling focus() should focus the first item, or the last focused one (if there is such).

Proposed Solution

Implement getFocusDomRef as follows:

getFocusDomRef(): HTMLElement | undefined {
	return this._itemNavigation._getCurrentItem();
}

Proposed Alternatives

No response

Organization

SAP

Additional Context

No response

Priority

Medium

Privacy Policy

  • I’m not disclosing any internal or sensitive information.

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions