🚀 Software Developer Portfolio Template that helps you showcase your work and skills as a software developer. (This is currently not being actively maintained)
This solved the issue #735. The issue was to enhance user experience by closing the mobile nav when switching between theme
Fixes #735
Changes:
I have used useRef hook to hook into menu icon and then use a function to set the value to unchecked of input (the menu icon is basically an input with type checked or unchecked). so when a user toggles the theme, this function is called that sets the input to unchecked, (making the menu close)
Type of change
[ ] New feature (non-breaking change which adds functionality)
Description
This solved the issue #735. The issue was to enhance user experience by closing the mobile nav when switching between theme Fixes #735
Changes: I have used useRef hook to hook into menu icon and then use a function to set the value to unchecked of input (the menu icon is basically an input with type checked or unchecked). so when a user toggles the theme, this function is called that sets the input to unchecked, (making the menu close)
Type of change