File tree Expand file tree Collapse file tree 1 file changed +0
-20
lines changed
vaadin-grid-flow-parent/vaadin-grid-flow/src/main/resources/META-INF/resources/frontend Expand file tree Collapse file tree 1 file changed +0
-20
lines changed Original file line number Diff line number Diff line change @@ -258,26 +258,6 @@ window.Vaadin.Flow.gridConnector.initLazy = (grid) => {
258
258
grid . __updateRow = function ( row ) {
259
259
Grid . prototype . __updateRow . call ( grid , row ) ;
260
260
261
- // There might be inactive component renderers on hidden rows that still refer to the
262
- // same component instance as one of the renderers on a visible row. Making the
263
- // inactive/hidden renderer attach the component might steal it from a visible/active one.
264
- if ( ! row . hidden ) {
265
- // make sure that component renderers are updated
266
- Array . from ( row . children ) . forEach ( ( cell ) => {
267
- Array . from ( cell ?. _content ?. __templateInstance ?. children || [ ] ) . forEach ( ( content ) => {
268
- if ( content . _attachRenderedComponentIfAble ) {
269
- content . _attachRenderedComponentIfAble ( ) ;
270
- }
271
- // In hierarchy column of tree grid, the component renderer is inside its content,
272
- // this updates it renderer from innerContent
273
- Array . from ( content ?. children || [ ] ) . forEach ( ( innerContent ) => {
274
- if ( innerContent . _attachRenderedComponentIfAble ) {
275
- innerContent . _attachRenderedComponentIfAble ( ) ;
276
- }
277
- } ) ;
278
- } ) ;
279
- } ) ;
280
- }
281
261
// since no row can be selected when selection mode is NONE
282
262
// if selectionMode is set to NONE, remove aria-selected attribute from the row
283
263
if ( selectionMode === validSelectionModes [ 1 ] ) {
You can’t perform that action at this time.
0 commit comments