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

[bug]: Intranet header seach bar shows on mobile #4570

Closed
MonsieurBon opened this issue Jan 31, 2025 · 1 comment · Fixed by #4664
Closed

[bug]: Intranet header seach bar shows on mobile #4570

MonsieurBon opened this issue Jan 31, 2025 · 1 comment · Fixed by #4664
Assignees
Labels
🐞 bug Something isn't working 📦 intranet-header Related to the @swisspost/design-system-intranet-header package request v8

Comments

@MonsieurBon
Copy link

Describe the bug
The intranet header shows the search bar on small screens and it can't be deactivated.

To Reproduce
Steps to reproduce the behavior:

  1. Create a page with the intranet header
  2. Make the browser window smaller
  3. The search field is displayed

Expected behavior
When the search field is not active, it should not be shown for all breakpoints

Screenshots
Image
Image

Desktop (please complete the following information):

  • OS: Windows 11
  • Browser: Firefox (128.6.0), Chrome (132.0.6834.111)

Additional context
The problem started with Version 8.7.0 and I think the problem is on this line:

*ngIf="(showIntranetSearch && condenseHeader && !openedMenu) || !condenseHeader"

@MonsieurBon MonsieurBon added the 🐞 bug Something isn't working label Jan 31, 2025
@gfellerph gfellerph added this to the Long Term Support milestone Jan 31, 2025
@gfellerph gfellerph changed the title [bug]: [bug]: Intranet header seach bar shows on mobile Jan 31, 2025
@gfellerph
Copy link
Member

@MonsieurBon thanks for submitting this issue and also providing context, we're having a look at it.

@gfellerph gfellerph added v8 📦 intranet-header Related to the @swisspost/design-system-intranet-header package labels Feb 5, 2025
@gfellerph gfellerph moved this from 👀 Triage to 💻 Ready for development in Design System Production Board Feb 5, 2025
@schaertim schaertim assigned schaertim and unassigned schaertim Feb 5, 2025
@myrta2302 myrta2302 self-assigned this Feb 12, 2025
@myrta2302 myrta2302 moved this from 💻 Ready for development to 🕹️ Coding in progress in Design System Production Board Feb 13, 2025
@myrta2302 myrta2302 linked a pull request Feb 13, 2025 that will close this issue
@myrta2302 myrta2302 moved this from 🕹️ Coding in progress to 🤬 Dev in Code Review in Design System Production Board Feb 13, 2025
@myrta2302 myrta2302 moved this from 🤬 Dev in Code Review to 🚀 Done in Design System Production Board Feb 18, 2025
@myrta2302 myrta2302 closed this as completed by moving to 🚀 Done in Design System Production Board Feb 18, 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 📦 intranet-header Related to the @swisspost/design-system-intranet-header package request v8
Projects
Status: 🚀 Done
Development

Successfully merging a pull request may close this issue.

4 participants