Skip to content

Conversation

@Nitin-100
Copy link
Contributor

@Nitin-100 Nitin-100 commented Sep 30, 2025

Description

When users open the left navigation menu (hamburger menu), the main content completely disappears, leaving a blank view. This happens on both the Home page and all other pages when the drawer is activated

Why

Accessibility violation - Content becomes completely inaccessible when drawer is open
Poor UX - Users lose context and can't see the current page while navigating
Navigation confusion - Users can't understand where they are or what they're navigating to

Resolves [Add Relevant Issue Here]

What

// CORRECT: Semi-transparent backdrop with proper layering
<Animated.View
style={{
position: 'absolute',
top: 0, left: 0, right: 0, bottom: 0,
backgroundColor: 'rgba(0, 0, 0, 0.3)', // Semi-transparent
opacity: fadeAnim,
zIndex: 1 // Behind drawer, over content
}}>
<Pressable
style={{ flex: 1 }}
onPress={() => setDrawerDesiredOpen(false)}
accessibilityRole="button"
accessibilityLabel="Close navigation menu"
/>
</Animated.View>

Screenshots

Before
before1

After
after1

Microsoft Reviewers: Open in CodeFlow

@Nitin-100 Nitin-100 self-assigned this Sep 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant