diff --git a/src/actions/tree.js b/src/actions/tree.js index a5f7de910..d40b51814 100644 --- a/src/actions/tree.js +++ b/src/actions/tree.js @@ -294,6 +294,7 @@ export const applyFilter = (mode, trait, values) => { } dispatch({type: types.APPLY_FILTER, trait, values: newValues}); dispatch(updateVisibleTipsAndBranchThicknesses()); + // FIXME: re-focus with one of the above dispatches or new dispatch }; }; diff --git a/src/components/tree/reactD3Interface/change.js b/src/components/tree/reactD3Interface/change.js index 40d2642a2..d91cbdba4 100644 --- a/src/components/tree/reactD3Interface/change.js +++ b/src/components/tree/reactD3Interface/change.js @@ -50,6 +50,7 @@ export const changePhyloTreeViaPropsComparison = (mainTree, phylotree, oldProps, } /* change treeFocus behavior */ + // FIXME: updateLayout when filters have changed to re-focus if (oldProps.treeFocus !== newProps.treeFocus) { args.newTreeFocus = newProps.treeFocus; args.updateLayout = true;