Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SideNavigation: Not Working Inside NavigationLayout on Mobile Devices #6969

Open
1 task done
Alexcastr opened this issue Feb 19, 2025 · 1 comment
Open
1 task done

Comments

@Alexcastr
Copy link

Describe the bug

When using SideNavigation inside NavigationLayout on mobile devices, the side navigation does not appear. The hamburger menu is unresponsive, and clicking it does nothing. This issue occurs specifically when accessing the app on a smartphone, whereas it works as expected on desktop.

Expected behavior: The hamburger menu should open the SideNavigation when clicked on mobile devices.

Isolated Example

No response

Reproduction steps

Steps to reproduce:

1.Use SideNavigation inside NavigationLayout in a UI5 web components application.
2.Open the app on a mobile device.
3.Try to click the hamburger menu.
4.Observe that the SideNavigation does not appear.

Expected Behaviour

The behaviur expected in this case is the display of the sidebar when clicking the hamburguer icon in the left side part

Screenshots or Videos

Mobile device
Image

Desktop device
Image

UI5 Web Components for React Version

2.7.2

UI5 Web Components Version

latest version

Browser

Chrome

Operating System

Mobile device - Android

Additional Context

No response

Relevant log output

Organization

Logali

Declaration

  • I’m not disclosing any internal or sensitive information.
@Lukas742 Lukas742 changed the title [Component Name]: [Bug Description] SideNavigation Not Working Inside NavigationLayout on Mobile Devices SideNavigation: Not Working Inside NavigationLayout on Mobile Devices Feb 20, 2025
@Lukas742
Copy link
Contributor

Lukas742 commented Feb 20, 2025

Hi @Alexcastr

please add an isolated example preferably by leveraging this StackBlitz template.

Edit: I've created an example based on this PR. Please check if it's working there. If not, please give the following details:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 🆕 New
Development

No branches or pull requests

2 participants