Get 2024 Templates Mega Bundle!$1000 worth of 19 Bootstrap HTML, Vue & React Templates + 3 Vector Sets for just $99
Get for 99$

Bug to open user button after visiting an error page.


Hello, I found an error in your Angular 1 demo and I would like to know if you can help me to correct this bug which is very annoying.

The bug to reproduce is the following:
Step 1. login to demo - Ok status
Step 2. I click on the user button, a menu appears where my profile appears among other items including the possibility of logging out - Status Ok
Step 3. I click on the menu page that says Error 404 , and I am taken to the 404 error page - Status Ok.
Step 4. I click on the return home button, and I return to the dashboard page - Ok status
Step 5. I click on the user button, and here's the bug, the menu no longer appears and I can't logout - KO status - BUG

Best regards,
Paulo


Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (3)


Hi Paulo,

Thank you for the workaround you shared for the user dropdown bug.

If you encounter any further issues or have more questions, feel free to ask.



Hi Paulo,

Thank you for bringing this issue to our attention. We apologize for any inconvenience this may have caused.

It appears that there might be a problem with the dropdown functionality not working as expected after navigating back using the browser's back button.

We are working on diagnosing the root cause and implementing a fix. We appreciate your patience and understanding in this matter.

Thanks



Hello Faizal,

Thanks for the reply.

I found a workaround, until a definitive correct solution is done.

Change in the navbar.component.html

data-kt-menu-trigger="{default: 'click']
to
data-kt-menu-trigger="{default: 'click', lg: 'hover'}"

I added the attribute on hover (mouse) .

Have a nice day.
Best regards,
Paulo


Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(