Fixed broken path-selection after filter changes
Brian Vaughn committed
May 2, 2019 at 15:21 UTC
4bf3ac19101c3273b205ed08f293795597485dee
1 file changed
+3
src/backend/renderer.js
+3
@@ -327,6 +327,9 @@ export function attach(
327
328
applyComponentFilters(componentFilters);
329
330
+ // Reset psuedo counters so that new path selections will be persisted.
331
+ rootDisplayNameCounter.clear();
332
+
333
// Recursively re-mount all roots with new filter criteria applied.
334
hook.getFiberRoots(rendererID).forEach(root => {
335
currentRootID = getFiberID(getPrimaryFiber(root.current));