mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 17:38:19 +08:00
use react 16
This commit is contained in:
1 parent
8c195661d7
commit
d1ec9064fc
5 files changed
+129
-232
No files matched your search
@@ -22,7 +22,7 @@ export default class MessagePadDialogueContentContainer extends React.PureCompon
|
||||
$(this.refs.list).scrollLock({ strict: true });
|
||||
}
|
||||
|
||||
componentWillUpdate(nextProps) {
|
||||
UNSAFE_componentWillUpdate(nextProps) { // eslint-disable-line camelcase
|
||||
if (nextProps.activeId !== this.props.activeId) {
|
||||
this.scrollToBottom = true;
|
||||
this.scrollWithAnimation = false;
|
||||
|
||||
Reference in new issue
Block a user