flip the menu direction to top if menu's height is bigger than the parent offset

This commit is contained in:
Bilux 2022-10-20 18:10:05 +01:00 committed by GitHub
commit f12dc707a6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 40 additions and 2 deletions

View file

@ -176,6 +176,12 @@ export interface DataTableProps
* @default 0
*/
page?: number;
/**
* Obtain a reference to the TableContainer Div HTML element
* @type {null | HTMLDivElement}
*/
tref?: null | HTMLDivElement;
}
export default class DataTable extends SvelteComponentTyped<

View file

@ -26,6 +26,12 @@ export interface TableContainerProps
* @default false
*/
useStaticWidth?: boolean;
/**
* Obtain a reference to the Div HTML element
* @type {null | HTMLDivElement}
*/
ref?: null | HTMLDivElement;
}
export default class TableContainer extends SvelteComponentTyped<