File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/dashboard/Data/Browser Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -740,7 +740,7 @@ export default class DataBrowser extends React.Component {
740740 // or with ctrl/meta (excel style - move to the first row)
741741 const prevObjectID = this . state . selectedObjectId ;
742742 // Calculate step size based on batch navigation mode
743- const stepSize = this . state . panelCount > 1 && this . state . batchNavigate ? this . state . panelCount : 1 ;
743+ const stepSize = this . state . panelCount > 1 && this . state . batchNavigate && this . state . isPanelVisible ? this . state . panelCount : 1 ;
744744 const newRow = e . ctrlKey || e . metaKey ? 0 : Math . max ( this . state . current . row - stepSize , 0 ) ;
745745 this . setState ( {
746746 current : {
@@ -785,7 +785,7 @@ export default class DataBrowser extends React.Component {
785785 // or with ctrl/meta (excel style - move to the last row)
786786 const prevObjectID = this . state . selectedObjectId ;
787787 // Calculate step size based on batch navigation mode
788- const stepSizeDown = this . state . panelCount > 1 && this . state . batchNavigate ? this . state . panelCount : 1 ;
788+ const stepSizeDown = this . state . panelCount > 1 && this . state . batchNavigate && this . state . isPanelVisible ? this . state . panelCount : 1 ;
789789 const newRow =
790790 e . ctrlKey || e . metaKey
791791 ? this . props . data . length - 1
You can’t perform that action at this time.
0 commit comments