Allow leaf nodes to be selected

This commit is contained in:
Billy Lam 2019-10-21 09:56:24 +13:00
parent 3510b7ee72
commit dd7eafb998

View File

@ -116,6 +116,8 @@ export default class ComponentView {
// prevent a full re-render of the vue component on update
// we'll handle prop updates in `update()`
ignoreMutation(mutation) {
// allow leaf nodes to be selected
if (mutation.type === "selection") {
return false;
}