Skip to content
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

add onWheel prop #778

Merged
merged 2 commits into from
Aug 18, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions source/Grid/Grid.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,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 @@ -849,6 +852,7 @@ export default class Grid extends React.PureComponent {
autoHeight,
autoWidth,
className,
containerProps,
containerRole,
containerStyle,
height,
Expand Down Expand Up @@ -910,6 +914,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