-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
dash/edit-mode-context #21231
base: dash/edit-mode-custom-layout
Are you sure you want to change the base?
dash/edit-mode-context #21231
Conversation
File size comparisonSizes for compiled+gzipped (bold) and compiled files.
|
Lighthouse reportdashboards-demo-minimal.json
|
Dashboard visual diffsVisual differences found in:
See artifacts in the run summary for screenshots |
Visual test results - No difference foundSamples changed
|
Benchmark report - Dashboardsbenchmarks/Dashboards/DataPool-CSV-constructor.bench.ts
See all
benchmarks/Dashboards/DataTable-loading-rows.bench.ts
See all
benchmarks/Dashboards/DataTable-loading-columns.bench.ts
See all
|
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.
Really nice!
One thing: if divs in the layout have a high z-index then menu, icons, sidebar etc. will render behind those elements. Perhaps not possible to solve 100%, but we could limit the problem by setting z-index: 1000000000 on those elements. Could be many reasons for devs to use high z-indexes in their layouts, and they often use them in steps of 10 or 100 to have some leverage.
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.
I meant it when I said "1000000000" ;-)
For this to actually reduce cases of overlap due to high z-index in customers layout I believe it must be much higher than 100.
The zIndex like |
@karolkolodziej mentioned there was maybe a more elegant solution than this "brute force" one. |
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.
Looks good to me.
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.
I would like to understand your reluctance to set this higher. Value for z-index is an integer, so can be −2147483648 to +2147483647 without breaking the rules. Could we at least add some 9's, so that the value is 9999999? The higher the better, as it will cover more cases. Your call.
Added context detection for custom HTML.