Skip to content

Commit

Permalink
disable native / hybrid scrollers for tableview (temp)
Browse files Browse the repository at this point in the history
  • Loading branch information
ianharrigan committed May 29, 2024
1 parent 000b771 commit 97f5e75
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions haxe/ui/containers/TableView.hx
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,16 @@ class TableView extends ScrollView implements IDataComponent implements IVirtual

return value;
}

// TODO: tableview doesnt work properly with native / hybrid scrollers because the header isnt "sticky" and will
// move with the rest of the scroller - disable for now
private override function get_isNativeScroller():Bool {
return false;
}

private override function get_isHybridScroller():Bool {
return false;
}
}

private class CompoundItemRenderer extends ItemRenderer {
Expand Down

0 comments on commit 97f5e75

Please sign in to comment.