gramene-search 2.15.1 → 2.15.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +8 -6
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4673,7 +4673,7 @@ var $4f15cd8a7d970b18$export$2e2bcd8739ae039 = $4f15cd8a7d970b18$var$exprViz;
|
|
|
4673
4673
|
|
|
4674
4674
|
|
|
4675
4675
|
|
|
4676
|
-
// Shared vocabulary and helpers for the
|
|
4676
|
+
// Shared vocabulary and helpers for the sorghum_v10b per-gene expression
|
|
4677
4677
|
// attributes (`expr_*__attr_*`). Used by both the Homology tbrowse Expression
|
|
4678
4678
|
// zone (results/details/exprAttrsZone.js) and the Attribute table view
|
|
4679
4679
|
// (attrTable/AttrTableView.js) so organ ordering and the ordinal level colors
|
|
@@ -20651,11 +20651,13 @@ const $693dd8c7a5607c3a$var$ResultsCmp = (props)=>{
|
|
|
20651
20651
|
const divRef = (0, $gXNCa$react.useRef)(null);
|
|
20652
20652
|
(0, $gXNCa$react.useEffect)(()=>{
|
|
20653
20653
|
if (v.shouldScroll) {
|
|
20654
|
-
|
|
20655
|
-
|
|
20656
|
-
|
|
20657
|
-
|
|
20658
|
-
|
|
20654
|
+
// scrollIntoView scrolls whichever ancestor is scrollable — the
|
|
20655
|
+
// window on most layouts, or the results pane when the sidebar and
|
|
20656
|
+
// results scroll independently (e.g. the sorghumbase app shell).
|
|
20657
|
+
// window.scrollTo would be a no-op in that pane-scroll case.
|
|
20658
|
+
if (divRef.current) divRef.current.scrollIntoView({
|
|
20659
|
+
behavior: 'smooth',
|
|
20660
|
+
block: 'start'
|
|
20659
20661
|
});
|
|
20660
20662
|
props.doCancelShouldScroll();
|
|
20661
20663
|
}
|