We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae7be31 commit 3226310Copy full SHA for 3226310
src/vitessce/widget.py
@@ -424,7 +424,7 @@ def get_uid_str(uid):
424
const divRef = React.useRef();
425
426
React.useEffect(() => {
427
- if(!divRef.current) {
+ if(!divRef.current || pageMode) {
428
return () => {};
429
}
430
@@ -450,7 +450,7 @@ def get_uid_str(uid):
450
divRef.current.removeEventListener("mouseleave", handleMouseLeave);
451
452
};
453
- }, [divRef]);
+ }, [divRef, pageMode]);
454
455
// Config changed on JS side (from within <Vitessce/>),
456
// send updated config to Python side.
0 commit comments