@@ -63,3 +63,32 @@ $euiCollapsibleNavWidth: $euiSize * 20;
63
63
height : auto ;
64
64
width : auto ;
65
65
}
66
+
67
+ // THIS WAS FIXED IN OPENSEARCH DASHBOARDS 2.17.1. THIS IS A TEMPORARY FIX FOR OSD 2.16.0
68
+ // Temporary fix for a bug with Chrome 129 when handling mask-image
69
+ // OUI provides the mask-image used in these which Chrome 129 fails to render correctly.
70
+ // It is not known if or when Chrome will fix this. Since almost all of these classes
71
+ // are applied to elements with scrollbars where their content contained, containing the
72
+ // paint is a safe solution.
73
+ // This can be achieved with various tricks like transform: translate?(0) or
74
+ // transform-style: preserve-3d but they add to the browsers workload; contain doesn't.
75
+ // ToDo: Remove these when most used versions of Chrome no longer suffer from the bug.
76
+ // From OUI: any ruleset containing mask-image
77
+ .eui-yScrollWithShadows ,
78
+ .eui-xScrollWithShadows ,
79
+ .euiYScrollWithShadows ,
80
+ .euiDataGrid__controlScroll ,
81
+ .euiDataGridColumnSelector__columnList ,
82
+ .euiDataGridColumnSorting__fieldList ,
83
+ .euiFlyoutBody .euiFlyoutBody__overflow ,
84
+ .euiFlyoutBody .euiFlyoutBody__overflow.euiFlyoutBody__overflow--hasBanner ,
85
+ .euiModalBody .euiModalBody__overflow ,
86
+ .euiSelectableList__list ,
87
+ // For OSD: consumers of eui?ScrollWithShadows
88
+ .osdQueryBar__textarea :not (:focus ):not (:invalid ),
89
+ .osdSavedQueryManagement__list ,
90
+ .dscCanvas ,
91
+ .vbConfig ,
92
+ .vbSidenav__style {
93
+ mask-image : unset ;
94
+ }
0 commit comments