mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-10-11 04:20:55 +08:00
fix colorby popup settings (#1694)
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
import React, { useRef, useEffect } from "react";
|
import React, { useRef, useEffect } from "react";
|
||||||
import { connect, shallowEqual } from "react-redux";
|
import { connect, shallowEqual } from "react-redux";
|
||||||
import { FaChevronRight, FaChevronDown } from "react-icons/fa";
|
import { FaChevronRight, FaChevronDown } from "react-icons/fa";
|
||||||
import { AnchorButton, Button, Tooltip } from "@blueprintjs/core";
|
import { AnchorButton, Button, Tooltip, Position } from "@blueprintjs/core";
|
||||||
import { Flipper, Flipped } from "react-flip-toolkit";
|
import { Flipper, Flipped } from "react-flip-toolkit";
|
||||||
import Async from "react-async";
|
import Async from "react-async";
|
||||||
import memoize from "memoize-one";
|
import memoize from "memoize-one";
|
||||||
@@ -438,9 +438,13 @@ const CategoryHeader = React.memo(
|
|||||||
? `Coloring by ${metadataField} is disabled, as it exceeds the limit of ${globals.maxCategoricalOptionsToDisplay} labels`
|
? `Coloring by ${metadataField} is disabled, as it exceeds the limit of ${globals.maxCategoricalOptionsToDisplay} labels`
|
||||||
: "Use as color scale"
|
: "Use as color scale"
|
||||||
}
|
}
|
||||||
position="bottom"
|
position={Position.LEFT}
|
||||||
usePortal={false}
|
usePortal
|
||||||
hoverOpenDelay={globals.tooltipHoverOpenDelay}
|
hoverOpenDelay={globals.tooltipHoverOpenDelay}
|
||||||
|
modifiers={{
|
||||||
|
preventOverflow: { enabled: false },
|
||||||
|
hide: { enabled: false },
|
||||||
|
}}
|
||||||
>
|
>
|
||||||
<AnchorButton
|
<AnchorButton
|
||||||
data-testclass="colorby"
|
data-testclass="colorby"
|
||||||
|
|||||||
Reference in New Issue
Block a user