Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/window-manager-desktop-navbar.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rocket.chat/meteor": patch
---

Fixed an issue where the top navigation bar rendered inside the Rocket.Chat Desktop client, interfering with the native OS window manager frame
4 changes: 4 additions & 0 deletions apps/meteor/client/navbar/NavBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ import NavBarPagesSection from './NavBarPagesSection';
const NavBar = () => {
const { navbar } = useLayout();

if (typeof window !== 'undefined' && window.RocketChatDesktop) {
return null;
}

return (
<NavBarComponent aria-label='header'>
{!navbar.searchExpanded && <NavBarPagesSection />}
Expand Down