Skip to content
This repository has been archived by the owner on Feb 22, 2023. It is now read-only.

Header size in tablet #759

Closed
fcoveram opened this issue Jan 31, 2022 · 14 comments
Closed

Header size in tablet #759

fcoveram opened this issue Jan 31, 2022 · 14 comments
Assignees
Labels
💻 aspect: code Concerns the software code in the repository bug Something isn't working 🛠 goal: fix Bug fix 🟧 priority: high Stalls work on the project or its dependents

Comments

@fcoveram
Copy link

Description

On tablet, md and lg breakpoints, the header breaks when opening the content switcher by changing its height and moving buttons to a second row.

Expectation

The header should not change its size but adapt its width to the viewport.

Screenshots

Header.ipad.11.pro.landscape.mp4
Header.ipad.11.pro.portrait.mp4
@fcoveram fcoveram added 🟧 priority: high Stalls work on the project or its dependents 🚦 status: awaiting triage Has not been triaged & therefore, not ready for work 🛠 goal: fix Bug fix 💻 aspect: code Concerns the software code in the repository labels Jan 31, 2022
@zackkrida
Copy link
Member

I'm not able to reproduce this on the production site in Chrome, Firefox, or Safari on my Mac. I can get you specific version numbers on those, but where are you seeing this issue?

@fcoveram
Copy link
Author

fcoveram commented Feb 1, 2022

On Firefox and Safari, in an iPad Pro 11-inch. Sorry for not adding the device and browser details.

@sarayourfriend sarayourfriend self-assigned this Feb 2, 2022
@sarayourfriend
Copy link
Contributor

@panchovm can you share what version if iPadOS your device is running? You can find it by following these steps: https://support.apple.com/en-us/HT201685

@fcoveram
Copy link
Author

fcoveram commented Feb 2, 2022

I update the OS yesterday but today I am still seeing the bug. I have iOS 15.3

I think it has to do with the WordPress header. In the video below, I was trying to change content, see filters, and type a new search. None of them worked.

Openverse.ipad.pro.11.portrait.-.header.bug.mp4

@sarayourfriend
Copy link
Contributor

Sounds good. I have an iPad I can test this with back home. I'll look into this later today unless someone else gets to it before me.

@sarayourfriend sarayourfriend removed their assignment Feb 2, 2022
@zackkrida zackkrida added the bug Something isn't working label Feb 4, 2022
@zackkrida
Copy link
Member

@panchovm or @sarayourfriend could you check the main branch for this again on an iPad? it might have been fixed in a recent PR.

@obulat
Copy link
Contributor

obulat commented Feb 8, 2022

There is a new regression on the main branch due to addition of the VLogoButton. Originally, the search bar width in a single-row header was calculated based on the widths of other components, and the logo was assumed to be 40px wide. Now it takes up 48px, so the search bar doesn't fit, and the last button goes to the second row.

@sarayourfriend sarayourfriend self-assigned this Feb 8, 2022
@fcoveram
Copy link
Author

fcoveram commented Feb 9, 2022

I do not know how to set up my iPad for running dev, I tried mirroring it from my MacBook but did not work.

@sarayourfriend
Copy link
Contributor

I ran it yesterday and didn't notice this particular issue. But there are indeed other problems with mobile browsing and the header that we need to fix (I'm working on it last night and today).

@zackkrida
Copy link
Member

@panchovm https://search-staging.openverse.engineering could be good to test on your iPad!

@fcoveram
Copy link
Author

fcoveram commented Feb 9, 2022

This is what I see on Firefox and Safari (iOS 15.3)

iPad.landscape.9-feb.mp4
iPad.portrait.9-feb.mp4

@sarayourfriend
Copy link
Contributor

Thanks @panchovm!

@zackkrida zackkrida modified the milestones: Postlaunch bug fixes and SEO improvements, Design maintenance Feb 14, 2022
@krysal krysal removed the 🚦 status: awaiting triage Has not been triaged & therefore, not ready for work label Feb 15, 2022
@sarayourfriend
Copy link
Contributor

I think the fixes to the popover height/width in #850 might actually solve this. It's very similar behavior to what I was seeing in iOS with the license description button moving around with the popover.

@sarayourfriend
Copy link
Contributor

Closed by #850

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
💻 aspect: code Concerns the software code in the repository bug Something isn't working 🛠 goal: fix Bug fix 🟧 priority: high Stalls work on the project or its dependents
Projects
None yet
Development

No branches or pull requests

5 participants