Skip to content

Commit

Permalink
Fixed sidebar appearence if CSS transitions are disabled (#7705)
Browse files Browse the repository at this point in the history
  • Loading branch information
SynteZZZ authored Feb 16, 2025
1 parent 351ca26 commit 6962675
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/lib/sidebar/Sidebar.js
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ export const Sidebar = React.forwardRef((inProps, ref) => {
if (props.visible !== visibleState && maskVisibleState) {
setVisibleState(props.visible);
}
}, [props.visible]);
}, [props.visible, maskVisibleState, visibleState]);

useUpdateEffect(() => {
if (maskVisibleState) {
Expand Down

0 comments on commit 6962675

Please sign in to comment.