mirror of
https://github.com/maputnik/editor.git
synced 2025-12-26 08:00:01 +00:00
Fix to ignore click suppression on inputs
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user