Closed Bug 2029378 Opened 6 months ago Closed 6 months ago

Datepicker dialog causes Firefox canvas to go off screen on "notch" phones

Categories

(Firefox for Android :: Toolbar, defect)

Firefox 150
All
Android
defect

Tracking

()

VERIFIED FIXED
152 Branch
Tracking Status
firefox150 --- verified
firefox151 --- verified
firefox152 --- verified

People

(Reporter: contact, Assigned: petru)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file, 3 external files)

User Agent: Mozilla/5.0 (Android 16; Mobile; rv:150.0) Gecko/150.0 Firefox/150.0

Steps to reproduce:

Use an html date field to open the DatePicker dialog.

Actual results:

Observe that, as the DatePicker opens, the webpage canvas will be pushed under the Android statusbar, and the Firefox toolbar intrudes on the Android navbar.

Upon hiding the DatePicker dialog the top of the webpage remains inaccessible and behind the Android statusbar.

Expected results:

The DatePicker does not break the Firefox UI, just as it didn't in previous versions.

Hello,

Thank you for reporting this issue.

Please can you share the website this happens on so we can try to reproduce it?

Thank you.

Flags: needinfo?(contact)

Hello Moyin,

I believe the most accessible to you would be to visit the date input Mozilla doc.

https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input/date#try_it

Clicking on the render example will open the Android Date Picker modal and triggers the issue on my Pixel device.

Flags: needinfo?(contact)
Severity: -- → S3

Thanks for sharing the link, I was able to reproduce it.

Hey Titouan, please can you take a look at this? Is this related to the edge to edge feature?

Flags: needinfo?(tthibaud)

Redirecting to Petru as this is not related to Edge2Edge background but rather on broader Edge to Edge on Fenix.

Flags: needinfo?(tthibaud) → needinfo?(petru)
Assignee: nobody → petru
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Attachment #9572442 - Attachment description: Bug 2029378 - Avoid updating the edge to edge strategy when navigating to fragments with a DialogFragment parent r=#android-reviewers → Bug 2029378 - Avoid updating the e2e strategy when navigating to fragments with a DialogFragment parent r=#android-reviewers
Flags: needinfo?(petru)

If the fix is good it should probably be uplifted to 150.

Keywords: regression
Regressed by: 2022139
Pushed by plingurar@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/4cbc026d8625 https://hg.mozilla.org/integration/autoland/rev/815ee7d40ef8 Avoid updating the e2e strategy when navigating to fragments with a DialogFragment parent r=android-reviewers,tthibaud
Status: ASSIGNED → RESOLVED
Closed: 6 months ago
Resolution: --- → FIXED
Target Milestone: --- → 152 Branch
Flags: qe-verify+

The patch landed in nightly and beta is affected.
:petru, is this bug important enough to require an uplift?

For more information, please visit BugBot documentation.

Flags: needinfo?(petru)

firefox-beta Uplift Approval Request

Attachment #9573494 - Flags: approval-mozilla-beta?

firefox-release Uplift Approval Request

Attachment #9573496 - Flags: approval-mozilla-release?
Flags: needinfo?(petru)
Attachment #9573494 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
Attachment #9573496 - Flags: approval-mozilla-release? → approval-mozilla-release+
Attached image 2029378.jpg —

Verified as fixed on the latest Firefox for Android Nightly 152.0a1 from 4/27, Beta 151.0b3, and RC 150.0.1.
Tested with a Pixel 6 (Android 17), and a Samsung Galaxy s24 (Android 16).
On both devices, the issue was reproducible.

Status: RESOLVED → VERIFIED
Flags: qe-verify+
Duplicate of this bug: 2025152
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: