Skip to content

Commit

Permalink
polish
Browse files Browse the repository at this point in the history
  • Loading branch information
ycw committed May 24, 2024
1 parent ac15d47 commit fdc6430
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions editor/js/libs/ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -1130,6 +1130,7 @@ class UITabbedPanel extends UIDiv {
if ( tab ) {

tab.addClass( 'selected' );
tab.dom.scrollIntoView( { inline: 'center', behavior: 'smooth' } );

}

Expand Down

0 comments on commit fdc6430

Please sign in to comment.