Skip to content

Commit bb4aecc

Browse files
authored
Invert NavigationView autoResize behavior
1 parent f351186 commit bb4aecc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/NavigationView/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ export class NavigationView extends React.Component<NavigationViewProps, Navigat
148148
}
149149

150150
autoResize = (e?: Event) => {
151-
if (window.innerWidth < 1280) {
151+
if (window.innerWidth >= 1280) {
152152
if (this.state.currDisplayMode !== "compact") {
153153
this.setState({
154154
currDisplayMode: "compact",

0 commit comments

Comments
 (0)