AdguardTeam / AdguardTeam/AdguardForiOS

[iOS] YouTube mobile website layout breaks

未关闭
#2,517 13 条评论 0 个 reaction 已指派 1 人 已被 @oksenina 认领 在 GitHub 查看
Priority: P4
主要语言
Swift
星标
1.7k
派生
240
PR 合并指标
30 天内没有已合并 PR

描述

Hello,

I am experiencing significant layout issues on the YouTube mobile website (m.youtube.com) when AdGuard is active on iOS. It seems the cosmetic filters are breaking the CSS layout.

**There are two main issues:**

1. Missing Top Navigation Bar (Header):
When watching a video or browsing, the entire top bar (YouTube logo, search icon, account menu) disappears completely.

2. Displaced Main Navigation Bar:
On the homepage, the main navigation bar (Home, Shorts, You) is in the wrong position.

• When AdGuard is enabled, this bar incorrectly jumps to the top of the screen (right under the search bar).

• When AdGuard is disabled, the bar stays at the bottom of the screen, which is its normal and expected position.

**Steps to reproduce:**

1. Enable AdGuard on iOS.

2. Open Safari and go to m.youtube.com.

3. Observe the top header (it will be missing in some views).

4. Go to the homepage and observe the position of the (Home, Shorts, You) navigation bar (it will be at the top instead of the bottom).

**Expected behavior:**

The top header should be visible, and the main navigation bar should remain at the bottom of the screen, just like when AdGuard is paused.

**Screenshots:**

![image](https://github.com/user-attachments/assets/ed311feb-5347-4934-8e62-14068869bdcd)

![image](https://github.com/user-attachments/assets/e63c356c-30a0-40ff-82f0-338ebe62d70d)

![image](https://github.com/user-attachments/assets/45b3b11f-45df-4873-afae-0914351ff8c7)

![image](https://github.com/user-attachments/assets/9dd2496c-55ee-44db-99c5-7df65a3f60ac)

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。