Skip to content

[BUG] Home Menu not working in Mobile #1000

@SValanukonda

Description

@SValanukonda

Describe the bug 描述你遇到的错误

A clear and concise description of what the bug is.
一段简短的对于你遇到的错误的描述.

Hi LoveIt team, I am building a website using the LoveIt theme. I noticed an issue where the home menu does not open after opening Posts, Tags, Categories, and About pages in mobile. its happening only when opened in mobile browser

Expected behavior 期待的行为

A clear and concise description of what you expected to happen.
一段简短的对于你期待的行为的描述.

The home menu should open and show available menu items on all pages.

Screenshots 屏幕截图

If applicable, add screenshots to help explain your problem.
如果可以的话, 提供屏幕截图对解决问题很有帮助.

This is when clicking on the home page; the home menu is working as expected.
Image

This is on the ALL Posts page where the home menu is not opening after clicking it.
Image

Error:
Image

Reasoning

Because of the above unhandled null, theme initialization is not happening properly.

Build Environment 构建环境

  • OS: Ubuntu
  • Theme version/commit: v0.2.11-227, g8ba49a37
  • Hugo version: v0.145.0

Please try to use the Hugo extended version before opening the issue.
请在创建 issue 之前先尝试使用 Hugo extended 版本构建.

Preview Environment 预览环境

  • OS: Android
  • Browser type/version: Chrome

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