0
0
Fork 0

Scroll columns area to right when children property is changed (#4517)

The feature to pin column could hide the rightmost column, which is
specified with children property of ColumnsArea.

The user is likely to see the column when the property changed, so scroll
the area in such cases.
This commit is contained in:
Akihiko Odaki 2017-08-05 01:57:46 +09:00 committed by Eugen Rochko
parent 400616813e
commit 9d1f8b9d6a
4 changed files with 20 additions and 9 deletions

View file

@ -1,7 +1,7 @@
import React from 'react';
import PropTypes from 'prop-types';
import detectPassiveEvents from 'detect-passive-events';
import scrollTop from '../scroll';
import { scrollTop } from '../scroll';
export default class Column extends React.PureComponent {