mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-08-25 12:27:13 +00:00
fix(frontend): disable table virtualization
Removes the `virtual` table option from Clients, Inbounds, and Nodes list pages. This aligns table behavior across key admin views and avoids virtualization-related rendering/interaction issues with the existing scroll and pagination setup.
This commit is contained in:
@@ -1351,7 +1351,6 @@ export default function ClientsPage() {
|
|||||||
pagination={tablePagination}
|
pagination={tablePagination}
|
||||||
size="small"
|
size="small"
|
||||||
scroll={{ x: 1200, y: 'calc(100vh - 380px)' }}
|
scroll={{ x: 1200, y: 'calc(100vh - 380px)' }}
|
||||||
virtual
|
|
||||||
onChange={onTableChange}
|
onChange={onTableChange}
|
||||||
locale={{
|
locale={{
|
||||||
emptyText: (
|
emptyText: (
|
||||||
|
|||||||
@@ -287,7 +287,6 @@ export default function InboundList({
|
|||||||
}}
|
}}
|
||||||
pagination={paginationFor(visibleInbounds)}
|
pagination={paginationFor(visibleInbounds)}
|
||||||
scroll={{ x: tableScrollX, y: 'calc(100vh - 320px)' }}
|
scroll={{ x: tableScrollX, y: 'calc(100vh - 320px)' }}
|
||||||
virtual
|
|
||||||
style={{ marginTop: 10 }}
|
style={{ marginTop: 10 }}
|
||||||
size="small"
|
size="small"
|
||||||
locale={{
|
locale={{
|
||||||
|
|||||||
@@ -649,7 +649,6 @@ export default function NodeList({
|
|||||||
pagination={false}
|
pagination={false}
|
||||||
loading={loading}
|
loading={loading}
|
||||||
scroll={{ x: 'max-content', y: 'calc(100vh - 320px)' }}
|
scroll={{ x: 'max-content', y: 'calc(100vh - 320px)' }}
|
||||||
virtual
|
|
||||||
size="middle"
|
size="middle"
|
||||||
rowKey="key"
|
rowKey="key"
|
||||||
rowSelection={dataSource.length > 1 ? {
|
rowSelection={dataSource.length > 1 ? {
|
||||||
|
|||||||
Reference in New Issue
Block a user