Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ui5-list): remove focus trap for empty list #2411

Merged
merged 2 commits into from
Nov 30, 2020
Merged

Conversation

fifoosid
Copy link
Contributor

This PR fixes a problem in ui5-list.
Prior to this change, two divs for focus trapping were always rendered.

After this change they are only rendered if there is at least one item in the list.(Not rendered for empty lists)

packages/main/src/List.js Outdated Show resolved Hide resolved
@fifoosid fifoosid merged commit 5f8e0e2 into master Nov 30, 2020
@fifoosid fifoosid deleted the list-no-data branch November 30, 2020 15:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants