Skip to content

[bug]: Post Header - megadropdown position and menu after resize #5523

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

Open
myrta2302 opened this issue May 19, 2025 · 0 comments
Open

[bug]: Post Header - megadropdown position and menu after resize #5523

myrta2302 opened this issue May 19, 2025 · 0 comments
Labels
🐞 bug Something isn't working
Milestone

Comments

@myrta2302
Copy link
Contributor

myrta2302 commented May 19, 2025

🐞 Describe the bug

  1. When viewing the application on mobile or tablet, if a user opens a megadropdown within the PostHeader and then resizes the window to desktop size before resizing back down to a mobile/tablet size, the megadropdown's positioning is incorrect.

This is probably addressed by this PR: #5490

  1. When a user opens a megadropdown in desktop size, then the resizes the window to a tablet/mobile breakpoint (which closes the megadropdown), and subsequently opens the mobile menu, the megadropdown retains its previous expanded state from the desktop view.

🛠️ To Reproduce

Steps to reproduce the behavior:

  1. Set the browser viewport size to a mobile/tablet.
  2. Interact with the PostHeader to open a megadropdown.
  3. Resize the browser window to a desktop size.
  4. Resize the browser window back down to a mobile/tablet size.
  5. Observe the position of the megadropdown.

✨ Expected behavior

  1. When resizing back from desktop to table breakpoint, the megadropdown should be closed and if opened again it should be correctly positioned for the mobile/tablet layout, starting from the bottom of the header.
  2. When the mobile menu is opened after the resize from desktop, all nested menus (like megadropdowns) should be in their default, collapsed state.

📷 Screenshots

Image

💻 Desktop

  • Browser: Edge/Safari
@myrta2302 myrta2302 added the 🐞 bug Something isn't working label May 19, 2025
@myrta2302 myrta2302 changed the title [bug]: PostHeader: Megadropdown position and menu state after resize [bug]: Post Header - megadropdown position and menu after resize May 19, 2025
@alizedebray alizedebray moved this from 👀 Triage to 🆗 Ready in Design System Production Board May 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Something isn't working
Projects
Status: 🆗 Ready
Development

No branches or pull requests

2 participants