Skip to content

Commit

Permalink
Merge pull request #778 from implausible/feature/enable-on-wheel
Browse files Browse the repository at this point in the history
add onWheel prop
  • Loading branch information
bvaughn authored Aug 18, 2017
2 parents f3beee0 + 437bd5f commit 9f3e81d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions source/Grid/Grid.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,9 @@ type Props = {
/** Either a fixed column width (number) or a function that returns the width of a column given its index. */
columnWidth: CellSize,

/** Unfiltered props for the Grid container. */
containerProps?: Object,

/** ARIA role for the cell-container. */
containerRole: string,

Expand Down Expand Up @@ -854,6 +857,7 @@ export default class Grid extends React.PureComponent {
autoHeight,
autoWidth,
className,
containerProps,
containerRole,
containerStyle,
height,
Expand Down Expand Up @@ -915,6 +919,7 @@ export default class Grid extends React.PureComponent {
return (
<div
ref={this._setScrollingContainerRef}
{...containerProps}
aria-label={this.props["aria-label"]}
aria-readonly={this.props["aria-readonly"]}
className={cn("ReactVirtualized__Grid", className)}
Expand Down

0 comments on commit 9f3e81d

Please sign in to comment.