Skip to content

Make the navbar automatically close once we toggle the mode(light/dark) for a better user experience. #735

@5AIPAVAN

Description

@5AIPAVAN

Describe the bug

For a screen size <=770px, we can improve the user experience by making the navbar close automatically when the user toggled the mode switch button(light/dark)

Steps to reproduce

Add a function in ../ToggleSwitch/ToggleSwitch component -> that makes the navbar close once we toggle the switch mode button.

Expected behavior

issue1

After toggle the navbar must close automatically once the mode is changed

image

Is this responsiveness Issue

NO

Screenshots

image
image

Desktop

  • OS: [e.g. iOS]
  • Browser: [e.g. chrome, safari]
  • Version: [e.g. 22]

Smartphones

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions