-
Notifications
You must be signed in to change notification settings - Fork 83
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
feat: restore focus on dashboard widget removal #7860
Conversation
4fc08cc
to
b1b174f
Compare
Quality Gate passedIssues Measures |
@@ -165,7 +165,8 @@ export function expectLayout(dashboard: HTMLElement, layout: Array<Array<number | |||
if (!element) { | |||
actualRow.push(null); | |||
} else { | |||
actualRow.push(parseInt(element.id.replace('item-', ''))); | |||
// TODO: Just use a number for all test item IDs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we add this to an improvements list or create an issue for this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's a small chore, shouldn't need an issue
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed here 274c8d9
This ticket/PR has been released with Vaadin 24.6.0.beta1 and is also targeting the upcoming stable 24.6.0 version. |
Description
When the dashboard widget including focus gets removed (for any reason), restore the focus to the widget closest to the removed one.
Kapture.2024-09-25.at.09.42.43.mp4
Type of change
Feature