fix(ui): keep floating menus inside viewport and clipping containers
This commit is contained in:
1 parent
9520651330
commit
7c1fcd19d4
16 files changed
+138
-33
No files matched your search
@@ -246,3 +246,9 @@ describe("account shell UI regressions", () => {
|
||||
expect(source("Footer")).toMatch(/\.wrn-footer__copyright-right\s*\{\s*grid-column: 3;/);
|
||||
});
|
||||
});
|
||||
|
||||
test('floating selection and preference panels opt into shared boundary handling', async () => {
|
||||
for (const name of ['PreferenceSwitcher', 'ComboBox', 'AdvancedSelect', 'TimePicker', 'DataTable', 'Navbar']) {
|
||||
expect(readFileSync(uiComponentPath(name), 'utf8')).toContain('data-wrn-anchored="true"');
|
||||
}
|
||||
});
|
||||
Reference in new issue
Block a user