Fix to ignore click suppression on inputs

This commit is contained in:
orangemug 2020-06-10 13:02:38 +01:00
parent 40579c3e0c
commit 8ae6e9fc61

View file

@ -51,7 +51,7 @@ export default class Block extends React.Component {
const nativeEvent = event.nativeEvent;
const contains = this._blockEl.contains(el);
if (contains) {
if (event.nativeEvent.target.nodeName !== "INPUT" && contains) {
event.stopPropagation();
event.preventDefault();
}