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

fix(NcAppNavigation): closed on mobile initially #4869

Merged
merged 2 commits into from
Nov 22, 2023

Conversation

ShGKme
Copy link
Contributor

@ShGKme ShGKme commented Nov 22, 2023

☑️ Resolves

When a window is resized to a mobile size, the app navigation closes. However, when the page was initially open on mobile, the navigation is open. It could be annoying because a user needs to close it to see the content.

See also discussion from: nextcloud/spreed#10908 (comment)

🚧 Tasks

  • Make navigation closed not only after switch to mobile, but also initially on mobile

🏁 Checklist

  • ⛑️ Tests are included or are not applicable
  • 📘 Component documentation has been extended, updated or is not applicable

Signed-off-by: Grigorii K. Shartsev <[email protected]>
Navigation closed on switch to mobile, but it wosn't closed when page was initially open on mobile.

Signed-off-by: Grigorii K. Shartsev <[email protected]>
@ShGKme ShGKme added bug Something isn't working feature: app-navigation Related to the app-navigation component labels Nov 22, 2023
@ShGKme ShGKme added this to the 8.2.1 milestone Nov 22, 2023
@ShGKme ShGKme self-assigned this Nov 22, 2023
Copy link
Contributor

@szaimen szaimen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense but didnt test

Copy link
Contributor

@Antreesy Antreesy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested with Talk

Copy link
Contributor

@jancborchardt jancborchardt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agree, content should be given priority. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working feature: app-navigation Related to the app-navigation component
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants