AdguardTeam / AdguardTeam/AdguardForiOS

[iOS] YouTube mobile website layout breaks

Đang mở
#2,517 13 bình luận 0 reaction 1 người được giao Được @oksenina nhận Xem trên GitHub
Priority: P4
Ngôn ngữ chính
Swift
Star
1.7k
Fork
240
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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)

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.