Fix: Warning: Unsupported style property pointer-events. Did you mean pointerEvents? (#7291)

This commit is contained in:
Timo 2021-12-06 12:47:43 +01:00 committed by GitHub
parent 2bfffab566
commit 12000060a5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -443,7 +443,7 @@ export default class AppTile extends React.Component<IProps, IState> {
const appTileBodyClass = 'mx_AppTileBody' + (this.props.miniMode ? '_mini ' : ' ');
const appTileBodyStyles = {};
if (this.props.pointerEvents) {
appTileBodyStyles['pointer-events'] = this.props.pointerEvents;
appTileBodyStyles['pointerEvents'] = this.props.pointerEvents;
}
const loadingElement = (