Open Bug 1384056 Opened 7 years ago Updated 2 years ago

The keyboard is dismissed when opening a new tab via Today Widget while in tabs tray

Categories

(Firefox for iOS :: General, defect, P3)

Other
iOS
defect

Tracking

()

Tracking Status
fxios 10.0 ---
fxios-v9.0 --- affected

People

(Reporter: SimonB, Unassigned, Mentored)

Details

(Whiteboard: [MobileCore][Today])

Attachments

(1 obsolete file)

Build: 35383ea543
Device: iPhone 6S
iOS: 10.3.3

Steps to reproduce:
1. Launch Firefox 
2. Open tabs tray
3. Open a new tab via Today Widget

Actual results:
- The URL bar will be focused but the keyboard is immediately dismissed. 

See video:
- https://www.youtube.com/watch?v=0kmuxEVwrok
Whiteboard: [MobileCore][Today]
Priority: -- → P3
need info me: check if this is related to focusing the URL bar on new tab
Flags: needinfo?(gkeeley)
Assignee: nobody → gkeeley
Flags: needinfo?(gkeeley)
Attached file Pull request (obsolete) —
Attachment #8893534 - Flags: review?(fpatel)
Attachment #8893534 - Flags: review?(fpatel) → review-
Clearing my hacky patch, there are some likely culprits that are causing this behaviour:

See notes here: https://github.com/mozilla-mobile/firefox-ios/pull/3006#issuecomment-320317642
"""
 We should instead try to figure out what is removing focus and stop that from happening.
When opening a newtab we call popToBVC sometimes. This calls leaveOverlayMode which will resign first responder.

There is probably some method that is being called to setup/clear the state that is resigningFirstResponder when a new tab is created.
"""
Assignee: gkeeley → nobody
Mentor: gkeeley
Attachment #8893534 - Attachment is obsolete: true
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: