Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit91b544a

Browse files
authored
fix: Batch-navigation is active even if info panels are not visible (#3053)
1 parentdb22594 commit91b544a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/dashboard/Data/Browser/DataBrowser.react.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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
constprevObjectID=this.state.selectedObjectId;
742742
// Calculate step size based on batch navigation mode
743-
conststepSize=this.state.panelCount>1&&this.state.batchNavigate ?this.state.panelCount :1;
743+
conststepSize=this.state.panelCount>1&&this.state.batchNavigate&&this.state.isPanelVisible?this.state.panelCount :1;
744744
constnewRow=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
constprevObjectID=this.state.selectedObjectId;
787787
// Calculate step size based on batch navigation mode
788-
conststepSizeDown=this.state.panelCount>1&&this.state.batchNavigate ?this.state.panelCount :1;
788+
conststepSizeDown=this.state.panelCount>1&&this.state.batchNavigate&&this.state.isPanelVisible?this.state.panelCount :1;
789789
constnewRow=
790790
e.ctrlKey||e.metaKey
791791
?this.props.data.length-1

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp