Skip to content

Bug: Sidebar is not working well, not responding to toggle also redirects to home #77

Closed
@esthersoftwaredev

Description

@esthersoftwaredev

Type of feature

🐛 Bug

Current behavior

Single header was used with conditional rendering however upon checking today

  • the PrimeNG sidebar was not responding to menu click toggle within post-details
  • when changing the sidebarVisible to true from the component - the sidebar showed but on closing it was redirecting from post-details to home

Suggested solution

  • go back to the previous implementation of using the layout component
  • post-details to have it's own header & footer
  • sidenav component can remain as a separate partial component

Additional context

No response

I would be willing to submit a PR to fix this issue

Metadata

Metadata

Labels

🐛 bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions